Educational Codeforces Round 35 (Rated for Div. 2)

Solutions are presented as using the least memory and the fastest execution time. It also takes the top 10 most recent solutions from each language. If you want to limit to a specific index, click the "Solved" button and go to that problem.

ContestId
Name
Phase
Frozen
Duration (Seconds)
Relative Time
Start Time
911 Educational Codeforces Round 35 (Rated for Div. 2) FINISHED False 7200 217353299 Dec. 28, 2017, 2:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2925 ) G Mass Change Queries PROGRAMMING data structures 2600

B'You are given an array a consisting of n integers. You have to process q queries to this array; each query is given as four numbers l, r, x and y, denoting that for every i such that l xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89i xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89r and ai xe2 x80 x89= xe2 x80 x89x you have to set ai equal to y. Print the array after all queries are processed. The first line contains one integer n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89200000) -- the size of array a. The second line contains n integers a1, a2, ..., an (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ai xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100) -- the elements of array a. The third line contains one integer q (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89q xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89200000) -- the number of queries you have to process. Then q lines follow. i-th line contains four integers l, r, x and y denoting i-th query (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89l xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89r xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89x, xe2 x80 x89y xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100). Print n integers -- elements of array a after all changes are made. '...

Tutorials

T

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
34166233 Erdenebayar G Jan. 14, 2018, 4:06 a.m. OK GNU C TESTS 127 2854 355328000 2600
34166266 Erdenebayar G Jan. 14, 2018, 4:09 a.m. OK GNU C TESTS 127 2979 355328000 2600
36240690 beginend G March 13, 2018, 6:49 a.m. OK GNU C++ TESTS 127 171 34918400 2600
34043271 lyx_cjz G Jan. 9, 2018, 7:48 a.m. OK GNU C++ TESTS 127 187 34918400 2600
33878274 iamqzh G Jan. 3, 2018, 6:53 a.m. OK GNU C++ TESTS 127 202 99020800 2600
34541759 tokitsukaze G Jan. 25, 2018, 9:31 a.m. OK GNU C++ TESTS 127 202 99840000 2600
33748600 MegaOwIer G Dec. 29, 2017, 2:17 a.m. OK GNU C++ TESTS 127 233 203264000 2600
34542548 tokitsukaze G Jan. 25, 2018, 10:11 a.m. OK GNU C++ TESTS 127 249 50995200 2600
40863135 ZhangKingsasa G July 28, 2018, 12:42 a.m. OK GNU C++ TESTS 127 265 62156800 2600
34175898 Jian_Ron G Jan. 14, 2018, 1:19 p.m. OK GNU C++ TESTS 127 296 35737600 2600
36409271 XingGeRuCi G March 19, 2018, 11:47 a.m. OK GNU C++ TESTS 127 296 36147200 2600
34635779 nitvjudge3 G Jan. 28, 2018, 2:40 p.m. OK GNU C++ TESTS 127 296 99840000 2600
52760791 Noble_Mushtak G April 14, 2019, 8:33 p.m. OK GNU C11 TESTS 127 2152 82636800 2600
46388710 vjudge4 G Nov. 30, 2018, 3:12 a.m. OK GNU C++11 TESTS 127 156 32870400 2600
46388739 vjudge4 G Nov. 30, 2018, 3:14 a.m. OK GNU C++11 TESTS 127 156 52121600 2600
55831307 cjxj233 G June 20, 2019, 1:17 p.m. OK GNU C++11 TESTS 127 156 84275200 2600
51818284 vjudge2 G March 25, 2019, 10:37 a.m. OK GNU C++11 TESTS 127 171 32870400 2600
36248174 ypxrain G March 13, 2018, 12:34 p.m. OK GNU C++11 TESTS 127 171 34918400 2600
36425987 LZDFDSMLL G March 20, 2018, 6:38 a.m. OK GNU C++11 TESTS 127 171 36352000 2600
55985121 cjxj233 G June 24, 2019, 2:34 a.m. OK GNU C++11 TESTS 127 171 84275200 2600
63785720 luogu_bot5 G Oct. 30, 2019, 12:16 p.m. OK GNU C++11 TESTS 127 186 81817600 2600
64184144 Alear G Nov. 4, 2019, 3:36 a.m. OK GNU C++11 TESTS 127 186 120217600 2600
64183950 Alear G Nov. 4, 2019, 3:26 a.m. OK GNU C++11 TESTS 127 186 160358400 2600
33856118 MrDindows G Jan. 2, 2018, 12:03 a.m. OK GNU C++14 TESTS 127 156 71782400 2600
33856148 MrDindows G Jan. 2, 2018, 12:08 a.m. OK GNU C++14 TESTS 127 156 71782400 2600
33856085 MrDindows G Jan. 1, 2018, 11:58 p.m. OK GNU C++14 TESTS 127 171 71782400 2600
40978683 ReaLNero1 G July 30, 2018, 4:45 p.m. OK GNU C++14 TESTS 127 187 69836800 2600
33749604 Marco_L_T G Dec. 29, 2017, 3:41 a.m. OK GNU C++14 TESTS 127 187 99635200 2600
33856056 MrDindows G Jan. 1, 2018, 11:55 p.m. OK GNU C++14 TESTS 127 187 106291200 2600
33761178 quailty G Dec. 29, 2017, 1:44 p.m. OK GNU C++14 TESTS 127 280 41164800 2600
33757529 quailty G Dec. 29, 2017, 10:57 a.m. OK GNU C++14 TESTS 127 295 41164800 2600
33842830 newgate G Jan. 1, 2018, 7:08 a.m. OK GNU C++14 TESTS 127 295 57958400 2600
63654778 tanao030801 G Oct. 28, 2019, 12:23 p.m. OK GNU C++14 TESTS 127 311 32870400 2600
61400969 hjk1030 G Sept. 28, 2019, 5:09 a.m. OK GNU C++17 TESTS 127 296 402432000 2600
41897206 zbtrs G Aug. 20, 2018, 10:10 a.m. OK GNU C++17 TESTS 127 327 65740800 2600
57830982 k24 G July 27, 2019, 6 a.m. OK GNU C++17 TESTS 127 389 288563200 2600
42431788 crathva G Sept. 3, 2018, 3:10 p.m. OK GNU C++17 TESTS 127 405 41164800 2600
64666586 nguyenthebinh271828 G Nov. 11, 2019, 2:54 a.m. OK GNU C++17 TESTS 127 420 13312000 2600
64666790 nguyenthebinh271828 G Nov. 11, 2019, 3:04 a.m. OK GNU C++17 TESTS 127 421 3379200 2600
64667625 nguyenthebinh271828 G Nov. 11, 2019, 3:41 a.m. OK GNU C++17 TESTS 127 421 4096000 2600
64666823 nguyenthebinh271828 G Nov. 11, 2019, 3:06 a.m. OK GNU C++17 TESTS 127 467 3379200 2600
61761301 luogu_bot3 G Oct. 3, 2019, 7:11 a.m. OK GNU C++17 TESTS 127 514 281395200 2600
43447540 fblogy G Sept. 26, 2018, 12:02 p.m. OK GNU C++17 TESTS 127 530 98918400 2600
33751995 Juniorandrade G Dec. 29, 2017, 6:10 a.m. OK Java 8 TESTS 127 998 61644800 2600
33752312 Juniorandrade G Dec. 29, 2017, 6:27 a.m. OK Java 8 TESTS 127 1029 61542400 2600
33752137 Juniorandrade G Dec. 29, 2017, 6:17 a.m. OK Java 8 TESTS 127 1029 61542400 2600
60957945 Suzukaze G Sept. 21, 2019, 3:52 a.m. OK Java 8 TESTS 127 1201 6656000 2600
60656320 vjudge2 G Sept. 16, 2019, 12:03 a.m. OK Java 8 TESTS 127 2215 332390400 2600
33733698 uwi G Dec. 28, 2017, 3:29 p.m. OK Java 8 TESTS 127 2230 365363200 2600
33807815 pitfall G Dec. 30, 2017, 11:29 a.m. OK Java 8 TESTS 127 2308 21196800 2600
34043913 karamkontar G Jan. 9, 2018, 8:30 a.m. OK Java 8 TESTS 127 2339 21401600 2600
33807660 pitfall G Dec. 30, 2017, 11:22 a.m. OK Java 8 TESTS 127 2354 21299200 2600
40715581 aminul G July 24, 2018, 7:01 p.m. OK Java 8 TESTS 127 2448 78438400 2600
33757566 quailty G Dec. 29, 2017, 10:59 a.m. OK MS C++ TESTS 127 389 47513600 2600
33834673 Maffka G Dec. 31, 2017, 3:46 p.m. OK MS C++ TESTS 127 1154 339660800 2600
33834686 Maffka G Dec. 31, 2017, 3:47 p.m. OK MS C++ TESTS 127 1200 339660800 2600
34220735 lkqlxjlxr71 G Jan. 16, 2018, noon OK MS C++ TESTS 127 2074 333107200 2600
34220566 lkqlxjlxr71 G Jan. 16, 2018, 11:54 a.m. OK MS C++ TESTS 127 2090 333107200 2600
34221592 lkqlxjlxr71 G Jan. 16, 2018, 12:33 p.m. OK MS C++ TESTS 127 2137 333107200 2600
33736927 yuugumo G Dec. 28, 2017, 3:52 p.m. OK MS C++ TESTS 127 2355 423116800 2600
34220984 lkqlxjlxr71 G Jan. 16, 2018, 12:08 p.m. OK MS C++ TESTS 127 2542 333107200 2600
34220255 lkqlxjlxr71 G Jan. 16, 2018, 11:43 a.m. OK MS C++ TESTS 127 2947 326656000 2600
63785380 wh2005 G Oct. 30, 2019, 12:11 p.m. OK MS C++ 2017 TESTS 127 342 81817600 2600
63642769 EDawn G Oct. 28, 2019, 8:39 a.m. OK MS C++ 2017 TESTS 127 358 32870400 2600
55907801 Netherdrake G June 21, 2019, 10:18 p.m. OK MS C++ 2017 TESTS 127 2402 204800 2600
33729911 Michcioperz G Dec. 28, 2017, 3:05 p.m. OK Ocaml TESTS 127 2932 29900800 2600

remove filters

Back to search problems