Educational Codeforces Round 21

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
808 Educational Codeforces Round 21 FINISHED False 9000 242578487 May 15, 2017, 3:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 7097 ) D Array Division PROGRAMMING binary search data structures implementation 1900

B'Vasya has an array a consisting of positive integer numbers. Vasya wants to divide this array into two non-empty consecutive parts (the prefix and the suffix) so that the sum of all elements in the first part equals to the sum of elements in the second part. It is not always possible, so Vasya will move some element before dividing the array (Vasya will erase some element and insert it into an arbitrary position). Inserting an element in the same position he was erased from is also considered moving. Can Vasya divide the array after choosing the right element to move and its new position? The first line contains single integer n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100000) -- the size of the array. The second line contains n integers a1, xe2 x80 x89a2... an (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ai xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109) -- the elements of the array. Print YES if Vasya can divide the array after moving one element. Otherwise print NO. In the first example Vasya can move the second element to the end of the array. In the second example no move can make the division possible. In the third example Vasya can move the fourth element by one position to the left. '...

Tutorials

52010

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
40600756 cpy D July 21, 2018, 8:26 a.m. OK D TESTS 115 77 11673600 1900
27214438 FalseMirror D May 19, 2017, 12:38 p.m. OK D TESTS 115 124 11878400 1900
29732800 ruban D Aug. 24, 2017, 1:55 p.m. OK Delphi TESTS 115 46 144384000 1900
27166304 Fred_Flintstone D May 16, 2017, 5:50 p.m. OK FPC TESTS 115 46 2048000 1900
27893167 KagamiharaNadeshiko D June 19, 2017, 1:08 a.m. OK FPC TESTS 115 46 2457600 1900
32040880 I_love_Kuroni D Nov. 4, 2017, 2:49 a.m. OK FPC TESTS 115 61 2457600 1900
27321453 codemart786 D May 24, 2017, 2:12 p.m. OK GNU C TESTS 115 31 1228800 1900
27234338 somu1997 D May 20, 2017, 11:24 a.m. OK GNU C TESTS 115 46 1638400 1900
27355152 Moneesh D May 26, 2017, noon OK GNU C TESTS 115 46 1638400 1900
28750363 learner1 D July 21, 2017, 12:54 p.m. OK GNU C TESTS 115 46 3481600 1900
28750269 learner1 D July 21, 2017, 12:50 p.m. OK GNU C TESTS 115 46 3481600 1900
28750218 learner1 D July 21, 2017, 12:47 p.m. OK GNU C TESTS 115 46 3481600 1900
27230679 vjudge2 D May 20, 2017, 7:53 a.m. OK GNU C++ TESTS 115 31 614400 1900
27170500 hanylch D May 17, 2017, 1:22 a.m. OK GNU C++ TESTS 115 31 1024000 1900
27154346 AkaneSasu D May 16, 2017, 8:31 a.m. OK GNU C++ TESTS 115 31 1024000 1900
27149260 King_of_Paladins D May 16, 2017, 3:37 a.m. OK GNU C++ TESTS 115 31 1024000 1900
27713109 vjudge3 D June 11, 2017, 1:09 a.m. OK GNU C++ TESTS 115 31 1228800 1900
27713275 vjudge4 D June 11, 2017, 1:30 a.m. OK GNU C++ TESTS 115 31 1228800 1900
27262854 vjudge1 D May 21, 2017, 8:41 a.m. OK GNU C++ TESTS 115 31 1228800 1900
27214145 destinys D May 19, 2017, 12:24 p.m. OK GNU C++ TESTS 115 31 1228800 1900
27206000 DwyaneXu D May 19, 2017, 12:59 a.m. OK GNU C++ TESTS 115 31 1228800 1900
27196766 Cacoa D May 18, 2017, 12:48 p.m. OK GNU C++ TESTS 115 31 1228800 1900
27177335 KisstheRain D May 17, 2017, 10:44 a.m. OK GNU C11 TESTS 115 46 3174400 1900
27413108 xiao-xiao D May 28, 2017, 12:42 p.m. OK GNU C11 TESTS 115 62 1638400 1900
27155524 will7101 D May 16, 2017, 9:12 a.m. OK GNU C++11 TESTS 115 15 1331200 1900
27165591 kimbbakar D May 16, 2017, 5:05 p.m. OK GNU C++11 TESTS 115 30 1228800 1900
27873416 zcyskyaa D June 18, 2017, 12:49 a.m. OK GNU C++11 TESTS 115 30 1228800 1900
27148985 ExiLe_ReDempTion D May 16, 2017, 3:14 a.m. OK GNU C++11 TESTS 115 30 1638400 1900
27219120 Ace_02 D May 19, 2017, 5:10 p.m. OK GNU C++11 TESTS 115 31 1228800 1900
27402283 Dream_set_sail D May 28, 2017, 6:55 a.m. OK GNU C++11 TESTS 115 31 1228800 1900
27182088 ujzwt4it D May 17, 2017, 2:47 p.m. OK GNU C++11 TESTS 115 31 1638400 1900
27375568 maxbi D May 27, 2017, 9:54 a.m. OK GNU C++11 TESTS 115 31 2252800 1900
27703430 hansy2015 D June 10, 2017, 9:29 a.m. OK GNU C++11 TESTS 115 31 2457600 1900
28489398 vjudge1 D July 13, 2017, 4:43 a.m. OK GNU C++11 TESTS 115 31 3276800 1900
27370272 liu397688551 D May 27, 2017, 8:49 a.m. OK GNU C++14 TESTS 115 31 1228800 1900
27370412 liu397688551 D May 27, 2017, 8:57 a.m. OK GNU C++14 TESTS 115 31 1228800 1900
27288086 alexX512 D May 22, 2017, 4:38 p.m. OK GNU C++14 TESTS 115 31 2252800 1900
27161247 yfwangyu D May 16, 2017, 2 p.m. OK GNU C++14 TESTS 115 46 819200 1900
27324939 ZomBrains D May 24, 2017, 6:31 p.m. OK GNU C++14 TESTS 115 46 1228800 1900
27179236 DoveDragon D May 17, 2017, 12:27 p.m. OK GNU C++14 TESTS 115 46 1228800 1900
27402747 zstu_jack D May 28, 2017, 7:29 a.m. OK GNU C++14 TESTS 115 46 1228800 1900
29593554 tanishka_1997 D Aug. 19, 2017, 8:55 a.m. OK GNU C++14 TESTS 115 46 1228800 1900
27789705 cfjjs D June 15, 2017, 8:41 a.m. OK GNU C++14 TESTS 115 46 1228800 1900
27567888 TheTerminalGuy D June 4, 2017, 4:53 p.m. OK GNU C++14 TESTS 115 46 1228800 1900
57324191 xwd456 D July 19, 2019, 11:22 a.m. OK GNU C++17 TESTS 115 46 1228800 1900
40608545 what_xcj D July 21, 2018, 12:52 p.m. OK GNU C++17 TESTS 115 46 1228800 1900
68852278 vjudge1 D Jan. 15, 2020, 9:24 a.m. OK GNU C++17 TESTS 115 46 1228800 1900
67792131 kiowords D Dec. 28, 2019, 3:06 p.m. OK GNU C++17 TESTS 115 46 1228800 1900
57317310 vjudge2 D July 19, 2019, 8:40 a.m. OK GNU C++17 TESTS 115 46 1536000 1900
57314560 vjudge3 D July 19, 2019, 7:46 a.m. OK GNU C++17 TESTS 115 46 1536000 1900
52274421 roll_no_1 D April 3, 2019, 2:14 p.m. OK GNU C++17 TESTS 115 46 1638400 1900
62937541 greenblade D Oct. 19, 2019, 2:32 p.m. OK GNU C++17 TESTS 115 46 1638400 1900
57314665 vjudge1 D July 19, 2019, 7:48 a.m. OK GNU C++17 TESTS 115 46 1638400 1900
52479428 ggml D April 8, 2019, 3:41 a.m. OK GNU C++17 TESTS 115 46 1638400 1900
34285613 megaspazz D Jan. 18, 2018, 8:08 p.m. OK Go TESTS 115 109 31948800 1900
27163334 nagibator D May 16, 2017, 2:59 p.m. OK Haskell TESTS 115 187 28979200 1900
27313659 fqw D May 24, 2017, 3:59 a.m. OK Haskell TESTS 115 218 16486400 1900
27313625 fqw D May 24, 2017, 3:54 a.m. OK Haskell TESTS 115 233 15974400 1900
27172201 stczhc D May 17, 2017, 4:51 a.m. OK Haskell TESTS 115 389 30617600 1900
28375304 sl0th D July 8, 2017, 7:16 p.m. OK Haskell TESTS 115 390 72294400 1900
28375217 sl0th D July 8, 2017, 7:09 p.m. OK Haskell TESTS 115 405 72294400 1900
28375212 sl0th D July 8, 2017, 7:08 p.m. OK Haskell TESTS 115 436 78643200 1900
69098811 ankyy_0103 D Jan. 19, 2020, 1:09 p.m. OK Java 11 TESTS 115 249 614400 1900
27224332 RP_9 D May 19, 2017, 8:55 p.m. OK Java 8 TESTS 115 124 0 1900
28565000 kucingterbang D July 15, 2017, 5:54 a.m. OK Java 8 TESTS 115 124 20684800 1900
27460993 7dan D May 31, 2017, 7:15 a.m. OK Java 8 TESTS 115 139 0 1900
27191651 aya_cool D May 18, 2017, 7:01 a.m. OK Java 8 TESTS 115 139 0 1900
27217057 Sanatbek D May 19, 2017, 3:02 p.m. OK Java 8 TESTS 115 140 0 1900
27531658 parth_1 D June 2, 2017, 8:58 p.m. OK Java 8 TESTS 115 140 0 1900
27194689 Mr.Awesome D May 18, 2017, 11:03 a.m. OK Java 8 TESTS 115 140 0 1900
27411719 Killer45 D May 28, 2017, 11:54 a.m. OK Java 8 TESTS 115 155 0 1900
27157502 stark29 D May 16, 2017, 11:09 a.m. OK Java 8 TESTS 115 155 0 1900
27152601 Maulik_Patel D May 16, 2017, 7:21 a.m. OK Java 8 TESTS 115 155 0 1900
27288458 ToLate D May 22, 2017, 5:06 p.m. OK JavaScript TESTS 115 155 23040000 1900
27308176 vadzimka D May 23, 2017, 8:12 p.m. OK Kotlin TESTS 115 404 0 1900
27183537 og.kostya D May 17, 2017, 4:28 p.m. OK MS C# TESTS 115 62 1228800 1900
27324242 flatline D May 24, 2017, 5:36 p.m. OK MS C# TESTS 115 109 24473600 1900
27234724 Sorryforpartyrocking D May 20, 2017, 11:56 a.m. OK MS C# TESTS 115 109 24985600 1900
27167826 artsin666 D May 16, 2017, 7:39 p.m. OK MS C# TESTS 115 109 30822400 1900
27156684 fr0st D May 16, 2017, 10:20 a.m. OK MS C# TESTS 115 155 35020800 1900
48496890 vjudge4 D Jan. 17, 2019, 1:20 p.m. OK MS C++ TESTS 115 31 1228800 1900
48405766 vjudge5 D Jan. 15, 2019, 3:28 a.m. OK MS C++ TESTS 115 31 1638400 1900
48410816 vjudge1 D Jan. 15, 2019, 7:36 a.m. OK MS C++ TESTS 115 46 1228800 1900
68682043 vjudge5 D Jan. 12, 2020, 11:32 p.m. OK MS C++ TESTS 115 46 1638400 1900
68083777 tarattata1 D Jan. 2, 2020, 3:24 p.m. OK MS C++ TESTS 115 46 1638400 1900
57316932 vjudge5 D July 19, 2019, 8:33 a.m. OK MS C++ TESTS 115 46 1638400 1900
52444872 vjudge3 D April 7, 2019, 7:39 a.m. OK MS C++ TESTS 115 46 1638400 1900
48445056 vjudge4 D Jan. 16, 2019, 6:58 a.m. OK MS C++ TESTS 115 46 1638400 1900
48439785 vjudge1 D Jan. 16, 2019, 1:49 a.m. OK MS C++ TESTS 115 46 1638400 1900
48429612 vjudge5 D Jan. 15, 2019, 4:38 p.m. OK MS C++ TESTS 115 46 1638400 1900
57317050 inysys11 D July 19, 2019, 8:36 a.m. OK MS C++ 2017 TESTS 115 61 1638400 1900
57316846 inysys11 D July 19, 2019, 8:31 a.m. OK MS C++ 2017 TESTS 115 61 1638400 1900
57316759 inysys11 D July 19, 2019, 8:29 a.m. OK MS C++ 2017 TESTS 115 62 1638400 1900
60442757 areo D Sept. 12, 2019, 1:06 p.m. OK MS C++ 2017 TESTS 115 108 3993600 1900
68852674 sunnyorrainy D Jan. 15, 2020, 9:33 a.m. OK MS C++ 2017 TESTS 115 156 12902400 1900
60245646 vjudge5 D Sept. 8, 2019, 2:23 a.m. OK MS C++ 2017 TESTS 115 171 3686400 1900
62561734 edwinho15 D Oct. 14, 2019, 12:09 p.m. OK MS C++ 2017 TESTS 115 186 15257600 1900
57857603 pseuda D July 27, 2019, 3:51 p.m. OK MS C++ 2017 TESTS 115 187 8908800 1900
59210838 macklu D Aug. 21, 2019, 8:30 a.m. OK MS C++ 2017 TESTS 115 202 15257600 1900
54744856 VladKozin D May 28, 2019, 10 a.m. OK MS C++ 2017 TESTS 115 249 12492800 1900
27224429 Yash_ D May 19, 2017, 9:05 p.m. OK PyPy 2 TESTS 115 139 11776000 1900
27332524 andreamaf D May 25, 2017, 9 a.m. OK PyPy 2 TESTS 115 140 13107200 1900
29815116 vicety D Aug. 26, 2017, 8:59 p.m. OK PyPy 2 TESTS 115 155 11366400 1900
27224414 Yash_ D May 19, 2017, 9:03 p.m. OK PyPy 2 TESTS 115 155 11776000 1900
27224443 Yash_ D May 19, 2017, 9:06 p.m. OK PyPy 2 TESTS 115 171 11980800 1900
27997967 sragavan D June 24, 2017, 5:48 a.m. OK PyPy 2 TESTS 115 171 35328000 1900
41069932 Onesh0t D July 31, 2018, 10:28 p.m. OK PyPy 2 TESTS 115 217 12595200 1900
27217353 sas D May 19, 2017, 3:19 p.m. OK PyPy 3 TESTS 115 311 11878400 1900
27153701 Naoki_M D May 16, 2017, 8:09 a.m. OK PyPy 3 TESTS 115 311 11878400 1900
57338461 BenL D July 19, 2019, 5:15 p.m. OK PyPy 3 TESTS 115 327 14131200 1900
58437008 PhilTheFish D Aug. 7, 2019, 2:22 p.m. OK PyPy 3 TESTS 115 327 15462400 1900
68074978 auouo D Jan. 2, 2020, 12:06 p.m. OK PyPy 3 TESTS 115 390 28262400 1900
61268865 ashok123 D Sept. 25, 2019, 1:30 p.m. OK PyPy 3 TESTS 115 420 27238400 1900
27192476 pr3pony D May 18, 2017, 8:10 a.m. OK PyPy 3 TESTS 115 436 16588800 1900
27154522 biss D May 16, 2017, 8:36 a.m. OK Python 2 TESTS 115 218 5734400 1900
27158400 biltharesatyendra D May 16, 2017, 11:54 a.m. OK Python 2 TESTS 115 234 7168000 1900
27227798 12121005 D May 20, 2017, 4:21 a.m. OK Python 2 TESTS 115 234 7987200 1900
29815105 vicety D Aug. 26, 2017, 8:59 p.m. OK Python 2 TESTS 115 249 7168000 1900
27915301 APwhitehat D June 20, 2017, 1:41 a.m. OK Python 2 TESTS 115 265 8601600 1900
32971154 ffbh D Dec. 6, 2017, 9:50 a.m. OK Python 2 TESTS 115 280 11673600 1900
27243024 jiezhou0731 D May 20, 2017, 6:32 p.m. OK Python 2 TESTS 115 389 14848000 1900
27188227 cenhao D May 18, 2017, 12:24 a.m. OK Python 2 TESTS 115 499 9625600 1900
27219151 oferiz D May 19, 2017, 5:11 p.m. OK Python 2 TESTS 115 1216 19968000 1900
27236081 Ostkaka D May 20, 2017, 1:51 p.m. OK Python 2 TESTS 115 1638 10240000 1900
27225841 orailly D May 20, 2017, 12:36 a.m. OK Python 3 TESTS 115 156 10137600 1900
29525807 sonnyday D Aug. 17, 2017, 12:18 p.m. OK Python 3 TESTS 115 202 8294400 1900
27179915 vjudge3 D May 17, 2017, 1 p.m. OK Python 3 TESTS 115 218 10444800 1900
27288738 ToLate D May 22, 2017, 5:27 p.m. OK Python 3 TESTS 115 218 13824000 1900
27548627 LHamster D June 3, 2017, 4:19 p.m. OK Python 3 TESTS 115 233 8499200 1900
32036262 SpeedOfMagic D Nov. 3, 2017, 8:20 p.m. OK Python 3 TESTS 115 233 11980800 1900
58155219 abhishek.kr.met16 D Aug. 2, 2019, 5:16 a.m. OK Python 3 TESTS 115 234 8192000 1900
30993954 Prec D Oct. 4, 2017, 2:05 p.m. OK Python 3 TESTS 115 234 8908800 1900
58154896 abhishek.kr.met16 D Aug. 2, 2019, 5:05 a.m. OK Python 3 TESTS 115 265 8192000 1900
27167835 Chitholian D May 16, 2017, 7:39 p.m. OK Python 3 TESTS 115 265 8806400 1900
28357820 alejopelaez D July 7, 2017, 10:59 p.m. OK Ruby TESTS 115 529 30515200 1900
27151571 kobae964 D May 16, 2017, 6:35 a.m. OK Rust TESTS 115 124 109158400 1900

remove filters

Back to search problems