Educational Codeforces Round 93 (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
1398 Educational Codeforces Round 93 (Rated for Div. 2) FINISHED False 7200 139850663 Aug. 14, 2020, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 24838 ) B Substring Removal Game PROGRAMMING games greedy sortings strings

B'Alice and Bob play a game. They have a binary string s (a string such that each character in it is either 0 or 1 ). Alice moves first, then Bob, then Alice again, and so on. During their move, the player can choose any number (not less than one) of consecutive equal characters in s and delete them. For example, if the string is 10110 , there are 6 possible moves (deleted characters are bold): After the characters are removed, the characters to the left and to the right of the removed block become adjacent. I. xe2 x80 x89e. the following sequence of moves is valid: 10 textbf{11}0 to 1 textbf{00} to 1 . The game ends when the string becomes empty, and the score of each player is the number of 1 -characters deleted by them. Each player wants to maximize their score. Calculate the resulting score of Alice. The first line contains one integer T ( 1 <= T <= 500 ) -- the number of test cases. Each test case contains exactly one line containing a binary string s ( 1 <= |s| <= 100 ). For each test case, print one integer -- the resulting score of Alice (the number of 1 -characters deleted by her). Questions about the optimal strategy will be ignored. '...

Tutorials

Educational Codeforces Round 93 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
90283313 KRISH99 B Aug. 18, 2020, 6:49 a.m. OK Clang++17 Diagnostics TESTS 7 62 0
90351068 Vicfred B Aug. 19, 2020, 1:43 a.m. OK D TESTS 7 31 0
90329502 bac2k5 B Aug. 18, 2020, 4:46 p.m. OK FPC TESTS 7 31 204800
90399912 luogu_bot1 B Aug. 19, 2020, 3:03 p.m. OK FPC TESTS 7 202 614400
91123766 ShofiqurRahman B Aug. 27, 2020, 10:21 a.m. OK GNU C11 TESTS 7 15 0
90689637 ganpat_98 B Aug. 22, 2020, 1:10 p.m. OK GNU C11 TESTS 7 15 3686400
90452667 summit0 B Aug. 20, 2020, 10:09 a.m. OK GNU C11 TESTS 7 30 0
90322403 sahasubarna08041 B Aug. 18, 2020, 3:27 p.m. OK GNU C11 TESTS 7 31 0
90435077 Median B Aug. 20, 2020, 5:36 a.m. OK GNU C11 TESTS 7 31 0
91066677 tahsin.unleashed B Aug. 26, 2020, 3:08 p.m. OK GNU C11 TESTS 7 31 0
91174793 softslayer B Aug. 28, 2020, 2:28 a.m. OK GNU C11 TESTS 7 31 0
90731076 lybr B Aug. 23, 2020, 6:19 a.m. OK GNU C11 TESTS 7 31 3686400
90532819 ffb59 B Aug. 21, 2020, 12:52 p.m. OK GNU C11 TESTS 7 31 3993600
90281049 Root_123 B Aug. 18, 2020, 6:15 a.m. OK GNU C11 TESTS 7 46 1024000
90903988 Risvy B Aug. 25, 2020, 1:40 p.m. OK GNU C++11 TESTS 7 15 0
90892586 rudr B Aug. 25, 2020, 10:59 a.m. OK GNU C++11 TESTS 7 15 0
91197065 rakend_2014 B Aug. 28, 2020, 9:51 a.m. OK GNU C++11 TESTS 7 15 0
91215619 Fir_Creek B Aug. 28, 2020, 2:11 p.m. OK GNU C++11 TESTS 7 15 0
91256937 cym_ B Aug. 29, 2020, 5:11 a.m. OK GNU C++11 TESTS 7 15 0
91290952 huhst2020_006 B Aug. 29, 2020, 2:17 p.m. OK GNU C++11 TESTS 7 15 0
91491806 myx12345 B Aug. 31, 2020, 12:52 p.m. OK GNU C++11 TESTS 7 15 0
91500927 khssupriya B Aug. 31, 2020, 2:44 p.m. OK GNU C++11 TESTS 7 15 0
91157248 saiful_alam41 B Aug. 27, 2020, 5:33 p.m. OK GNU C++11 TESTS 7 15 0
91007002 prateek_aries B Aug. 25, 2020, 11:48 p.m. OK GNU C++11 TESTS 7 15 0
91092034 firemansam B Aug. 26, 2020, 9:36 p.m. OK GNU C++14 TESTS 7 15 0
90217087 kabir2018331125 B Aug. 17, 2020, 10:15 a.m. OK GNU C++14 TESTS 7 15 0
90239881 vjudge2 B Aug. 17, 2020, 2:57 p.m. OK GNU C++14 TESTS 7 15 102400
91099850 nandonathaniel B Aug. 27, 2020, 3:22 a.m. OK GNU C++14 TESTS 7 15 102400
90496147 adi_1999 B Aug. 20, 2020, 9:09 p.m. OK GNU C++14 TESTS 7 15 204800
90488693 FrozenBeast028 B Aug. 20, 2020, 6:20 p.m. OK GNU C++14 TESTS 7 15 204800
90875879 pulkit080 B Aug. 25, 2020, 7:02 a.m. OK GNU C++14 TESTS 7 15 204800
90991819 Zero_IQ B Aug. 25, 2020, 5:39 p.m. OK GNU C++14 TESTS 7 15 204800
90501586 ThinTime B Aug. 21, 2020, 1:25 a.m. OK GNU C++14 TESTS 7 15 409600
90501465 Moon1125666900 B Aug. 21, 2020, 1:20 a.m. OK GNU C++14 TESTS 7 15 512000
91087822 LunaticGe B Aug. 26, 2020, 7:42 p.m. OK GNU C++17 TESTS 7 15 0
91284203 archit_13 B Aug. 29, 2020, 12:33 p.m. OK GNU C++17 TESTS 7 15 102400
91246806 shikhar2817 B Aug. 28, 2020, 10:35 p.m. OK GNU C++17 TESTS 7 15 102400
91164253 PFerraz B Aug. 27, 2020, 7:36 p.m. OK GNU C++17 TESTS 7 15 102400
91007127 igba B Aug. 25, 2020, 11:53 p.m. OK GNU C++17 TESTS 7 15 102400
90408227 twisted_ninja B Aug. 19, 2020, 4:55 p.m. OK GNU C++17 TESTS 7 15 102400
90332480 nikunj_lohia B Aug. 18, 2020, 5:24 p.m. OK GNU C++17 TESTS 7 15 102400
90300458 vjudge4 B Aug. 18, 2020, 10:56 a.m. OK GNU C++17 TESTS 7 15 102400
90251966 bpratap B Aug. 17, 2020, 5:21 p.m. OK GNU C++17 TESTS 7 15 102400
90234341 dicohy27 B Aug. 17, 2020, 1:54 p.m. OK GNU C++17 TESTS 7 15 102400
90841476 elyutin159164 B Aug. 24, 2020, 3:51 p.m. OK GNU C++17 (64) TESTS 7 15 0
90901323 m.szeliga B Aug. 25, 2020, 1:04 p.m. OK GNU C++17 (64) TESTS 7 15 0
91034575 19992147 B Aug. 26, 2020, 8:58 a.m. OK GNU C++17 (64) TESTS 7 15 0
91093679 kevinyang B Aug. 26, 2020, 10:47 p.m. OK GNU C++17 (64) TESTS 7 15 0
91128440 kirdmivus B Aug. 27, 2020, 11:31 a.m. OK GNU C++17 (64) TESTS 7 15 0
91184763 daifucong B Aug. 28, 2020, 6:36 a.m. OK GNU C++17 (64) TESTS 7 15 0
91548330 vjudge3 B Sept. 1, 2020, 8:22 a.m. OK GNU C++17 (64) TESTS 7 15 0
91597777 Hyobot B Sept. 1, 2020, 8:14 p.m. OK GNU C++17 (64) TESTS 7 15 0
91610065 rniya B Sept. 2, 2020, 4:18 a.m. OK GNU C++17 (64) TESTS 7 15 0
91652911 vjudge3 B Sept. 2, 2020, 3:10 p.m. OK GNU C++17 (64) TESTS 7 15 0
91692529 synapse B Sept. 3, 2020, 6:27 a.m. OK Go TESTS 7 171 0
90339181 jouIej B Aug. 18, 2020, 7:04 p.m. OK Haskell TESTS 7 15 102400
90337666 dantal1930 B Aug. 18, 2020, 6:38 p.m. OK Haskell TESTS 7 31 102400
90802851 Laurens B Aug. 24, 2020, 7:06 a.m. OK Haskell TESTS 7 31 11571200
90285686 glider.g B Aug. 18, 2020, 7:25 a.m. OK Java 11 TESTS 7 171 0
90777178 m0nk3y_d_luffy B Aug. 23, 2020, 5:50 p.m. OK Java 11 TESTS 7 171 23961600
91522201 aquarius_gaurav B Aug. 31, 2020, 8:09 p.m. OK Java 11 TESTS 7 186 0
90343184 gsahil216 B Aug. 18, 2020, 8:27 p.m. OK Java 11 TESTS 7 186 0
90272301 XsLel B Aug. 18, 2020, 3:09 a.m. OK Java 11 TESTS 7 186 0
90809531 adityakaushik99 B Aug. 24, 2020, 8:45 a.m. OK Java 11 TESTS 7 186 24064000
90214155 maghavgoyal B Aug. 17, 2020, 9:35 a.m. OK Java 11 TESTS 7 187 0
90521752 Prathmesh13 B Aug. 21, 2020, 10:05 a.m. OK Java 11 TESTS 7 187 23859200
91315842 calias B Aug. 29, 2020, 11:30 p.m. OK Java 11 TESTS 7 202 0
91507361 zhupeijun B Aug. 31, 2020, 4:01 p.m. OK Java 11 TESTS 7 202 0
91587477 di_halt B Sept. 1, 2020, 5:10 p.m. OK Java 8 TESTS 7 108 0
90907008 eng_hardik B Aug. 25, 2020, 2:20 p.m. OK Java 8 TESTS 7 108 0
90881290 akhilg224 B Aug. 25, 2020, 8:15 a.m. OK Java 8 TESTS 7 108 0
90235193 mr___hacker____ B Aug. 17, 2020, 2:04 p.m. OK Java 8 TESTS 7 108 0
90540906 MetaStash B Aug. 21, 2020, 2:36 p.m. OK Java 8 TESTS 7 108 20480000
90532477 Ernestas B Aug. 21, 2020, 12:47 p.m. OK Java 8 TESTS 7 108 20480000
90389682 Rushi5032 B Aug. 19, 2020, 12:55 p.m. OK Java 8 TESTS 7 109 0
90374200 antonskubiiev B Aug. 19, 2020, 9:10 a.m. OK Java 8 TESTS 7 109 0
90738449 KadenXu B Aug. 23, 2020, 8:20 a.m. OK Java 8 TESTS 7 109 20480000
91617189 hagar_yasser B Sept. 2, 2020, 6:32 a.m. OK Java 8 TESTS 7 124 0
90391096 felix412441 B Aug. 19, 2020, 1:14 p.m. OK Kotlin TESTS 7 155 0
90295582 Ghasem B Aug. 18, 2020, 9:46 a.m. OK Kotlin TESTS 7 155 1331200
90788266 hwalrus B Aug. 24, 2020, 12:29 a.m. OK Kotlin TESTS 7 186 22937600
90261555 raymi B Aug. 17, 2020, 8:15 p.m. OK Kotlin TESTS 7 187 1331200
91271876 wbars B Aug. 29, 2020, 9:20 a.m. OK Kotlin TESTS 7 187 1433600
90216533 hhsaffar B Aug. 17, 2020, 10:08 a.m. OK Mono C# TESTS 7 62 307200
90311591 DiSTRuCtO B Aug. 18, 2020, 1:27 p.m. OK MS C++ TESTS 7 15 0
90754939 usefulhyun B Aug. 23, 2020, 12:31 p.m. OK MS C++ TESTS 7 46 4505600
90240977 shirowa B Aug. 17, 2020, 3:09 p.m. OK MS C++ 2017 TESTS 7 15 0
91137234 concept3d B Aug. 27, 2020, 1:36 p.m. OK MS C++ 2017 TESTS 7 30 0
90411848 KseniaG B Aug. 19, 2020, 5:50 p.m. OK MS C++ 2017 TESTS 7 30 0
91549212 vjudge1 B Sept. 1, 2020, 8:35 a.m. OK MS C++ 2017 TESTS 7 30 307200
90476310 Sameh88 B Aug. 20, 2020, 3:27 p.m. OK MS C++ 2017 TESTS 7 31 0
90274852 Mao_Z B Aug. 18, 2020, 4:18 a.m. OK MS C++ 2017 TESTS 7 31 0
90414686 Salma_M B Aug. 19, 2020, 6:39 p.m. OK MS C++ 2017 TESTS 7 31 0
91563199 Qeouo B Sept. 1, 2020, 12:06 p.m. OK MS C++ 2017 TESTS 7 31 0
91314753 Raisss B Aug. 29, 2020, 10:31 p.m. OK MS C++ 2017 TESTS 7 31 0
91306927 sakuni B Aug. 29, 2020, 6:48 p.m. OK MS C++ 2017 TESTS 7 31 0
90445308 watarimaycry2 B Aug. 20, 2020, 8:17 a.m. OK Node.js TESTS 7 78 1740800
90212455 Fatelon B Aug. 17, 2020, 9:12 a.m. OK Node.js TESTS 7 93 1638400
90212154 Fatelon B Aug. 17, 2020, 9:08 a.m. OK Node.js TESTS 7 108 1536000
90766497 BeanHeaDza B Aug. 23, 2020, 3:06 p.m. OK Node.js TESTS 7 109 14950400
90461464 roman.khabibulin B Aug. 20, 2020, 12:23 p.m. OK PHP TESTS 7 140 409600
90793081 pablood B Aug. 24, 2020, 3:43 a.m. OK PHP TESTS 7 155 6041600
90792428 pablood B Aug. 24, 2020, 3:23 a.m. OK PHP TESTS 7 358 6041600
91122411 yumtam B Aug. 27, 2020, 10:01 a.m. OK PyPy 2 TESTS 7 156 1228800
90900609 kaleabasfaw2010 B Aug. 25, 2020, 12:53 p.m. OK PyPy 3 TESTS 7 155 2048000
90494945 densvedberg B Aug. 20, 2020, 8:32 p.m. OK PyPy 3 TESTS 7 155 2048000
90355992 DrTrue B Aug. 19, 2020, 4:13 a.m. OK PyPy 3 TESTS 7 155 2355200
90345610 prabhatsoni99 B Aug. 18, 2020, 9:44 p.m. OK PyPy 3 TESTS 7 155 2662400
90459196 Nobel7s2019 B Aug. 20, 2020, 11:47 a.m. OK PyPy 3 TESTS 7 156 2867200
90669083 aaaaaaaaaa2230 B Aug. 22, 2020, 8:17 a.m. OK PyPy 3 TESTS 7 170 23347200
90919636 coderkabh B Aug. 25, 2020, 2:46 p.m. OK PyPy 3 TESTS 7 171 2252800
90480012 varunD_ B Aug. 20, 2020, 4:13 p.m. OK PyPy 3 TESTS 7 171 2252800
91513499 Aloha B Aug. 31, 2020, 5:24 p.m. OK PyPy 3 TESTS 7 171 2457600
91506041 XYZ_2 B Aug. 31, 2020, 3:45 p.m. OK PyPy 3 TESTS 7 171 2457600
90501646 groupbuilder B Aug. 21, 2020, 1:26 a.m. OK Python 2 TESTS 7 156 0
90693287 hopper19 B Aug. 22, 2020, 2:03 p.m. OK Python 2 TESTS 7 187 6553600
91637911 Mehrdad_ravenS B Sept. 2, 2020, 11:58 a.m. OK Python 3 TESTS 7 93 0
91637680 Mehrdad_ravenS B Sept. 2, 2020, 11:55 a.m. OK Python 3 TESTS 7 93 0
90482188 GregoryK B Aug. 20, 2020, 4:40 p.m. OK Python 3 TESTS 7 93 0
91568381 _sharvali_ B Sept. 1, 2020, 1:17 p.m. OK Python 3 TESTS 7 93 307200
91449083 imnoobie B Aug. 31, 2020, 2:35 a.m. OK Python 3 TESTS 7 93 6656000
90817141 raunak_priyam B Aug. 24, 2020, 10:39 a.m. OK Python 3 TESTS 7 93 6656000
91171435 r_osiris B Aug. 27, 2020, 11:47 p.m. OK Python 3 TESTS 7 108 0
90467257 Arman_Vazei B Aug. 20, 2020, 1:43 p.m. OK Python 3 TESTS 7 108 0
90432863 SadiaFarheen11 B Aug. 20, 2020, 4:50 a.m. OK Python 3 TESTS 7 108 0
90332914 aryendra B Aug. 18, 2020, 5:30 p.m. OK Python 3 TESTS 7 108 0
90854392 ratn41 B Aug. 24, 2020, 7:07 p.m. OK Ruby TESTS 7 483 307200
90999669 kona0001 B Aug. 25, 2020, 7:39 p.m. OK Ruby TESTS 7 499 921600
90993371 myduomilia B Aug. 25, 2020, 5:57 p.m. OK Rust TESTS 7 31 102400
90437096 Ballu-Bhai B Aug. 20, 2020, 6:12 a.m. OK Rust TESTS 7 31 102400
90305064 maxglushkov561 B Aug. 18, 2020, 11:58 a.m. OK Rust TESTS 7 46 0
90199879 Strorkis B Aug. 17, 2020, 6:25 a.m. OK Rust TESTS 7 46 0
90329626 vicw_0000 B Aug. 18, 2020, 4:47 p.m. OK Rust TESTS 7 46 102400
91303038 sslotin B Aug. 29, 2020, 5:35 p.m. OK Scala TESTS 7 514 0

remove filters

Back to search problems