Educational Codeforces Round 58 (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
1101 Educational Codeforces Round 58 (Rated for Div. 2) FINISHED False 7200 190308324 Jan. 11, 2019, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 10666 ) B Accordion PROGRAMMING greedy implementation 1300

B"An accordion is a string (yes, in the real world accordions are musical instruments, but let's forget about it for a while) which can be represented as a concatenation of: an opening bracket (ASCII code 091 ), a colon (ASCII code 058 ), some (possibly zero) vertical line characters (ASCII code 124 ), another colon, and a closing bracket (ASCII code 093 ). The length of the accordion is the number of characters in it. For example, [::], [:||:] and [:|||:] are accordions having length 4 , 6 and 7 . (:|:), {:||:}, [:], ]:||:[ are not accordions. You are given a string s . You want to transform it into an accordion by removing some (possibly zero) characters from it. Note that you may not insert new characters or reorder existing ones. Is it possible to obtain an accordion by removing characters from s , and if so, what is the maximum possible length of the result? The only line contains one string s ( 1 <= |s| <= 500000 ). It consists of lowercase Latin letters and characters [, ], : and |. If it is not possible to obtain an accordion by removing some characters from s , print -1 . Otherwise print maximum possible length of the resulting accordion. "...

Tutorials

64483

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
48486438 liuhb B Jan. 17, 2019, 8:36 a.m. OK Clang++17 Diagnostics TESTS 588 46 0 1300
48443294 grape97 B Jan. 16, 2019, 5:54 a.m. OK Clang++17 Diagnostics TESTS 588 62 0 1300
48315175 gretel B Jan. 13, 2019, 6:06 a.m. OK Clang++17 Diagnostics TESTS 588 140 15974400 1300
48429519 HLD B Jan. 15, 2019, 4:36 p.m. OK Clang++17 Diagnostics TESTS 588 358 15974400 1300
48296181 ruban B Jan. 12, 2019, 2:40 p.m. OK Delphi TESTS 588 140 1024000 1300
67514119 luogu_bot2 B Dec. 24, 2019, 10:13 a.m. OK FPC TESTS 588 46 2457600 1300
56644920 luogu_bot3 B July 7, 2019, 5:46 a.m. OK FPC TESTS 588 46 2457600 1300
50237428 yugao B Feb. 20, 2019, 11:26 a.m. OK FPC TESTS 588 46 2457600 1300
52466517 omlgg B April 7, 2019, 3:58 p.m. OK FPC TESTS 588 61 716800 1300
48377054 hoangmaicongdat2001 B Jan. 14, 2019, 8:13 a.m. OK FPC TESTS 588 62 2457600 1300
48326165 Bear.-. B Jan. 13, 2019, 11:57 a.m. OK FPC TESTS 588 62 2457600 1300
63132265 liuhb B Oct. 22, 2019, 2:36 p.m. OK GNU C11 TESTS 588 31 512000 1300
69399617 vjudge5 B Jan. 23, 2020, 7:56 a.m. OK GNU C11 TESTS 588 31 512000 1300
69399555 vjudge4 B Jan. 23, 2020, 7:55 a.m. OK GNU C11 TESTS 588 31 512000 1300
69050306 BugLeave B Jan. 18, 2020, 12:28 p.m. OK GNU C11 TESTS 588 31 512000 1300
64257585 Razvan2000f B Nov. 4, 2019, 3:29 p.m. OK GNU C11 TESTS 588 31 512000 1300
69603730 romarioputra B Jan. 27, 2020, 8:54 a.m. OK GNU C11 TESTS 588 31 512000 1300
53905467 vjudge2 B May 9, 2019, 12:31 p.m. OK GNU C11 TESTS 588 31 512000 1300
52061735 kaiboy B March 31, 2019, 1:52 a.m. OK GNU C11 TESTS 588 31 512000 1300
49825317 bool_everything_zero B Feb. 12, 2019, 11:15 a.m. OK GNU C11 TESTS 588 31 512000 1300
49368772 kafm B Feb. 2, 2019, 4:21 p.m. OK GNU C11 TESTS 588 31 512000 1300
48454588 Adelard B Jan. 16, 2019, 12:09 p.m. OK GNU C++11 TESTS 588 31 0 1300
59349147 damao B Aug. 23, 2019, 11:04 a.m. OK GNU C++11 TESTS 588 31 307200 1300
60225904 luogu_bot1 B Sept. 7, 2019, 3:06 p.m. OK GNU C++11 TESTS 588 31 307200 1300
60710025 luogu_bot3 B Sept. 17, 2019, 7:46 a.m. OK GNU C++11 TESTS 588 31 307200 1300
63282150 luogu_bot1 B Oct. 24, 2019, 9:03 a.m. OK GNU C++11 TESTS 588 31 307200 1300
63282314 luogu_bot3 B Oct. 24, 2019, 9:06 a.m. OK GNU C++11 TESTS 588 31 307200 1300
63410583 vjudge3 B Oct. 25, 2019, 11:48 p.m. OK GNU C++11 TESTS 588 31 307200 1300
63559300 luogu_bot2 B Oct. 27, 2019, 1:47 p.m. OK GNU C++11 TESTS 588 31 307200 1300
67778494 function_of_zero B Dec. 28, 2019, 9:59 a.m. OK GNU C++11 TESTS 588 31 307200 1300
69599542 He_Ren B Jan. 27, 2020, 6:48 a.m. OK GNU C++11 TESTS 588 31 307200 1300
63390719 derrickball B Oct. 25, 2019, 3:08 p.m. OK GNU C++14 TESTS 588 31 512000 1300
63283939 luowentao B Oct. 24, 2019, 9:39 a.m. OK GNU C++14 TESTS 588 31 512000 1300
61056107 shifanyiakioi B Sept. 22, 2019, 8:06 a.m. OK GNU C++14 TESTS 588 31 512000 1300
59351570 Telepath B Aug. 23, 2019, noon OK GNU C++14 TESTS 588 31 512000 1300
54069808 vjudge4 B May 13, 2019, 3:32 p.m. OK GNU C++14 TESTS 588 31 512000 1300
52899746 vjudge5 B April 17, 2019, 10:38 a.m. OK GNU C++14 TESTS 588 31 512000 1300
51843162 VictorForbes B March 26, 2019, 1:04 a.m. OK GNU C++14 TESTS 588 31 512000 1300
51399497 hgf0173958 B March 17, 2019, 6:33 a.m. OK GNU C++14 TESTS 588 31 512000 1300
51160472 Rabbittank B March 11, 2019, 12:10 p.m. OK GNU C++14 TESTS 588 31 512000 1300
50811257 evenharder B March 5, 2019, 8:55 a.m. OK GNU C++14 TESTS 588 31 512000 1300
64646709 vjudge2 B Nov. 10, 2019, 3:17 p.m. OK GNU C++17 TESTS 588 31 512000 1300
63535068 vjudge4 B Oct. 27, 2019, 7:49 a.m. OK GNU C++17 TESTS 588 31 512000 1300
61268139 xiaofeng19 B Sept. 25, 2019, 1:19 p.m. OK GNU C++17 TESTS 588 31 512000 1300
59417902 Antygenius B Aug. 24, 2019, 7:14 p.m. OK GNU C++17 TESTS 588 31 512000 1300
59116957 vjudge1 B Aug. 20, 2019, 2:18 a.m. OK GNU C++17 TESTS 588 31 512000 1300
58427971 Alpha_SCP014_ B Aug. 7, 2019, 10:36 a.m. OK GNU C++17 TESTS 588 31 512000 1300
58241464 Biioy B Aug. 4, 2019, 1:35 a.m. OK GNU C++17 TESTS 588 31 512000 1300
57566967 201831990439 B July 23, 2019, 3:21 a.m. OK GNU C++17 TESTS 588 31 512000 1300
54666908 bitetheDDDDt B May 26, 2019, 1:53 p.m. OK GNU C++17 TESTS 588 31 512000 1300
54530106 nssw B May 23, 2019, 4:37 p.m. OK GNU C++17 TESTS 588 31 512000 1300
48330508 mishagam B Jan. 13, 2019, 2:09 p.m. OK Go TESTS 588 46 0 1300
48432790 Hillmouse B Jan. 15, 2019, 6:22 p.m. OK Haskell TESTS 588 46 23347200 1300
67313478 CodAR B Dec. 21, 2019, 4:39 a.m. OK Java 11 TESTS 588 217 0 1300
59345298 Bhavya_Arora B Aug. 23, 2019, 9:24 a.m. OK Java 8 TESTS 588 124 0 1300
58808186 vivek_23 B Aug. 14, 2019, 9:43 a.m. OK Java 8 TESTS 588 124 0 1300
58242809 garnacha B Aug. 4, 2019, 2:50 a.m. OK Java 8 TESTS 588 124 0 1300
56246437 lookcook B June 28, 2019, 9:31 p.m. OK Java 8 TESTS 588 124 0 1300
54278512 Ikari_stream B May 17, 2019, 12:17 p.m. OK Java 8 TESTS 588 124 0 1300
50102341 fillinia B Feb. 18, 2019, 3:32 p.m. OK Java 8 TESTS 588 124 0 1300
49960052 mu.shakhawat.hossain B Feb. 15, 2019, 5:44 p.m. OK Java 8 TESTS 588 124 0 1300
49213658 EmilSilva B Jan. 30, 2019, 4:26 p.m. OK Java 8 TESTS 588 124 0 1300
49121539 VikramSaurabh B Jan. 28, 2019, 7:36 p.m. OK Java 8 TESTS 588 124 0 1300
48912282 Gr8tor B Jan. 25, 2019, 3:08 a.m. OK Java 8 TESTS 588 124 0 1300
48640749 Askander B Jan. 20, 2019, 3:20 p.m. OK JavaScript TESTS 588 46 2355200 1300
48269879 Smayluk B Jan. 12, 2019, 12:45 a.m. OK JavaScript TESTS 588 46 2355200 1300
48300277 Ablay_adil B Jan. 12, 2019, 4:32 p.m. OK JavaScript TESTS 588 46 4198400 1300
64508323 Spheniscine B Nov. 8, 2019, 7:51 a.m. OK Kotlin TESTS 588 155 0 1300
48523979 BlackLunx B Jan. 18, 2019, 8:06 a.m. OK Kotlin TESTS 588 171 0 1300
60458965 rego97 B Sept. 12, 2019, 7:27 p.m. OK Kotlin TESTS 588 186 0 1300
59900178 david_varela B Sept. 2, 2019, 1:24 p.m. OK Kotlin TESTS 588 202 0 1300
51387986 jhw866 B March 16, 2019, 7:58 p.m. OK Kotlin TESTS 588 202 0 1300
48681676 AnitaK B Jan. 21, 2019, 1:33 p.m. OK Kotlin TESTS 588 202 0 1300
48268582 StudyApps B Jan. 11, 2019, 10:41 p.m. OK Mono C# TESTS 588 62 1843200 1300
53714425 treasuryonly B May 3, 2019, 6:01 p.m. OK Mono C# TESTS 588 62 1945600 1300
49397328 nastya1199 B Feb. 3, 2019, 1 p.m. OK Mono C# TESTS 588 62 1945600 1300
48339640 IleksaNott B Jan. 13, 2019, 3:02 p.m. OK Mono C# TESTS 588 62 3891200 1300
49540894 iamgodiva B Feb. 6, 2019, 6:23 p.m. OK Mono C# TESTS 588 62 4915200 1300
48293928 omikad B Jan. 12, 2019, 1:48 p.m. OK Mono C# TESTS 588 77 1843200 1300
54876358 og.kostya B May 31, 2019, noon OK Mono C# TESTS 588 77 1945600 1300
48281058 ken_love_rin B Jan. 12, 2019, 8 a.m. OK Mono C# TESTS 588 77 4915200 1300
49111407 nemars B Jan. 28, 2019, 3:06 p.m. OK Mono C# TESTS 588 93 5529600 1300
69220100 vjudge5 B Jan. 21, 2020, 3:59 a.m. OK MS C++ TESTS 588 31 512000 1300
69220146 vjudge4 B Jan. 21, 2020, 4:01 a.m. OK MS C++ TESTS 588 31 512000 1300
69197394 vjudge3 B Jan. 20, 2020, 3:22 p.m. OK MS C++ TESTS 588 31 512000 1300
62340858 vjudge2 B Oct. 11, 2019, 4:56 a.m. OK MS C++ TESTS 588 31 512000 1300
62340641 vjudge3 B Oct. 11, 2019, 4:47 a.m. OK MS C++ TESTS 588 31 512000 1300
57432998 vjudge5 B July 21, 2019, 2:52 a.m. OK MS C++ TESTS 588 31 512000 1300
57348849 vjudge5 B July 20, 2019, 2:03 a.m. OK MS C++ TESTS 588 31 512000 1300
57317221 vjudge1 B July 19, 2019, 8:39 a.m. OK MS C++ TESTS 588 31 512000 1300
50349197 vjudge1 B Feb. 23, 2019, 7:47 a.m. OK MS C++ TESTS 588 31 512000 1300
50344847 vjudge3 B Feb. 23, 2019, 5:43 a.m. OK MS C++ TESTS 588 31 512000 1300
55074505 hwangganzi B June 4, 2019, 7:53 a.m. OK MS C++ 2017 TESTS 588 31 512000 1300
53895097 2719896135 B May 9, 2019, 5:11 a.m. OK MS C++ 2017 TESTS 588 46 512000 1300
56013918 petko_mitkov B June 24, 2019, 7:45 p.m. OK MS C++ 2017 TESTS 588 46 512000 1300
58334854 ZSTU-2018329621261 B Aug. 5, 2019, 11:04 a.m. OK MS C++ 2017 TESTS 588 46 512000 1300
62620406 vjudge4 B Oct. 15, 2019, 12:41 p.m. OK MS C++ 2017 TESTS 588 46 512000 1300
68984273 vjudge5 B Jan. 17, 2020, 11:54 a.m. OK MS C++ 2017 TESTS 588 46 512000 1300
69174886 vjudge3 B Jan. 20, 2020, 7:42 a.m. OK MS C++ 2017 TESTS 588 46 512000 1300
69035434 vjudge3 B Jan. 18, 2020, 8:56 a.m. OK MS C++ 2017 TESTS 588 46 512000 1300
68457375 shio B Jan. 9, 2020, 4:45 p.m. OK MS C++ 2017 TESTS 588 46 921600 1300
69396122 vjudge3 B Jan. 23, 2020, 6:23 a.m. OK MS C++ 2017 TESTS 588 46 921600 1300
48302779 moballack B Jan. 12, 2019, 5:53 p.m. OK Node.js TESTS 588 186 7782400 1300
48301614 pirvu.catalin94 B Jan. 12, 2019, 5:13 p.m. OK Node.js TESTS 588 186 7782400 1300
48267027 cristi17 B Jan. 11, 2019, 9:03 p.m. OK PascalABC.NET TESTS 588 343 2252800 1300
48294332 mayakin B Jan. 12, 2019, 1:57 p.m. OK PHP TESTS 588 77 512000 1300
58016120 ziedmanai B July 30, 2019, 3:36 p.m. OK PyPy 2 TESTS 588 139 2764800 1300
48271000 cherry_su B Jan. 12, 2019, 2:04 a.m. OK PyPy 2 TESTS 588 140 2764800 1300
48270617 YESMAths B Jan. 12, 2019, 1:43 a.m. OK PyPy 2 TESTS 588 140 2764800 1300
55592730 shafwanur010 B June 15, 2019, 1:18 p.m. OK PyPy 2 TESTS 588 265 23347200 1300
48269905 tiantian5 B Jan. 12, 2019, 12:47 a.m. OK PyPy 3 TESTS 588 155 4198400 1300
48702275 bularond B Jan. 22, 2019, 3:33 a.m. OK PyPy 3 TESTS 588 155 5222400 1300
48328059 bringMeBack_ B Jan. 13, 2019, 12:54 p.m. OK PyPy 3 TESTS 588 155 5222400 1300
48421266 prajjwal.sharm B Jan. 15, 2019, 12:55 p.m. OK PyPy 3 TESTS 588 155 6553600 1300
48304501 adityaramesh B Jan. 12, 2019, 6:51 p.m. OK PyPy 3 TESTS 588 155 8396800 1300
48266387 Bovniova B Jan. 11, 2019, 8:33 p.m. OK PyPy 3 TESTS 588 156 3584000 1300
48885622 max_hha B Jan. 24, 2019, 12:11 p.m. OK PyPy 3 TESTS 588 156 4198400 1300
48721432 toysheeyeyraku B Jan. 22, 2019, 1:41 p.m. OK PyPy 3 TESTS 588 156 4300800 1300
48299271 Vichitr B Jan. 12, 2019, 4:02 p.m. OK PyPy 3 TESTS 588 156 4300800 1300
48439465 MajAK B Jan. 16, 2019, 1:22 a.m. OK PyPy 3 TESTS 588 156 4608000 1300
48367477 nealzane B Jan. 14, 2019, 12:15 a.m. OK Python 2 TESTS 588 171 2048000 1300
48321264 saurabhshahpur B Jan. 13, 2019, 9:25 a.m. OK Python 2 TESTS 588 186 1228800 1300
48390013 kaif_7 B Jan. 14, 2019, 2:51 p.m. OK Python 2 TESTS 588 187 1536000 1300
48408362 fortmax120 B Jan. 15, 2019, 6:03 a.m. OK Python 2 TESTS 588 187 6758400 1300
50156688 Luxo B Feb. 19, 2019, 10:30 a.m. OK Python 2 TESTS 588 234 7270400 1300
48472693 piblolq B Jan. 16, 2019, 10:26 p.m. OK Python 2 TESTS 588 249 8908800 1300
49826416 ganges B Feb. 12, 2019, 11:52 a.m. OK Python 2 TESTS 588 296 8806400 1300
48303911 scambret B Jan. 12, 2019, 6:31 p.m. OK Python 2 TESTS 588 343 16998400 1300
48311629 claramm B Jan. 13, 2019, 2:37 a.m. OK Python 2 TESTS 588 421 8908800 1300
48279178 SoSooding B Jan. 12, 2019, 7:11 a.m. OK Python 2 TESTS 588 421 8908800 1300
48458269 ygyovo B Jan. 16, 2019, 1:30 p.m. OK Python 3 TESTS 588 109 1638400 1300
48366538 sg915 B Jan. 13, 2019, 10:52 p.m. OK Python 3 TESTS 588 109 1638400 1300
48307208 eugalt B Jan. 12, 2019, 8:45 p.m. OK Python 3 TESTS 588 109 1638400 1300
48908362 FeardaMeow B Jan. 24, 2019, 10:51 p.m. OK Python 3 TESTS 588 109 1740800 1300
48322203 Messiah_10 B Jan. 13, 2019, 9:57 a.m. OK Python 3 TESTS 588 109 1740800 1300
48311110 Erik_Morbach B Jan. 13, 2019, 1:52 a.m. OK Python 3 TESTS 588 109 1740800 1300
48307357 Hayruni B Jan. 12, 2019, 8:53 p.m. OK Python 3 TESTS 588 109 1740800 1300
49692410 bhavana4842 B Feb. 10, 2019, noon OK Python 3 TESTS 588 124 1638400 1300
49138001 didiv B Jan. 29, 2019, 8:45 a.m. OK Python 3 TESTS 588 124 1638400 1300
48715001 saini123 B Jan. 22, 2019, 10:44 a.m. OK Python 3 TESTS 588 124 1638400 1300
48537780 cielavenir B Jan. 18, 2019, 3:06 p.m. OK Ruby TESTS 588 124 1843200 1300
48504004 rahdpp B Jan. 17, 2019, 4:40 p.m. OK Ruby TESTS 588 187 1433600 1300
48300842 majali B Jan. 12, 2019, 4:49 p.m. OK Ruby TESTS 588 327 53043200 1300
48308135 dduqueti B Jan. 12, 2019, 9:34 p.m. OK Ruby TESTS 588 498 97280000 1300
48273220 hr567 B Jan. 12, 2019, 4:01 a.m. OK Rust TESTS 588 46 1024000 1300
48299623 brauliobz B Jan. 12, 2019, 4:14 p.m. OK Rust TESTS 588 62 2355200 1300
48326609 rustaurance B Jan. 13, 2019, 12:12 p.m. OK Rust TESTS 588 78 24473600 1300
48953564 dandersonw B Jan. 26, 2019, 2:40 a.m. OK Scala TESTS 588 529 22016000 1300
48270742 hot_yoghurt B Jan. 12, 2019, 1:50 a.m. OK Scala TESTS 588 545 6041600 1300

remove filters

Back to search problems