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 |
---|---|---|---|---|---|---|
1263 | Codeforces Round 603 (Div. 2) | FINISHED | False | 7200 | 162401087 | Nov. 29, 2019, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 2820 ) | E | Editor | PROGRAMMING | data structures implementation | 2000 |
B"The development of a text editor is a hard problem. You need to implement an extra module for brackets coloring in text. Your editor consists of a line with infinite length and cursor, which points to the current character. Please note that it points to only one of the characters (and not between a pair of characters). Thus, it points to an index character. The user can move the cursor left or right one position. If the cursor is already at the first (leftmost) position, then it does not move left. Initially, the cursor is in the first (leftmost) character. Also, the user can write a letter or brackets (either (, or )) to the position that the cursor is currently pointing at. A new character always overwrites the old value at that position. Your editor must check, whether the current line is the correct text. Text is correct if the brackets in them form the correct bracket sequence. Formally, correct text (CT) must satisfy the following rules: Examples of correct texts: hello(codeforces), round, ((i)(write))edi(tor)s, ( me). Examples of incorrect texts: hello)oops(, round), ((me). The user uses special commands to work with your editor. Each command has its symbol, which must be written to execute this command. The correspondence of commands and characters is as follows: For a complete understanding, take a look at the first example and its illustrations in the note below. You are given a string containing the characters that the user entered. For the brackets coloring module's work, after each command you need to: If two pairs of brackets are nested (the first in the second or vice versa), then these pairs of brackets should be painted in different colors. If two pairs of brackets are not nested, then they can be painted in different or the same colors. For example, for the bracket sequence ()(())()() the least number of colors is 2 , and for the bracket sequence (()(()())())(()) -- is 3 . Write a program that prints the minimal number of col"... |
Разбор Codeforces Round #603 (Div. 2) |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
65993402 | Gassa | E | Nov. 29, 2019, 5:11 p.m. | OK | D | TESTS | 26 | 373 | 43110400 | 2000 | |
65987769 | Gassa | E | Nov. 29, 2019, 4:17 p.m. | OK | D | TESTS | 26 | 389 | 43110400 | 2000 | |
65990745 | 777777777Plus | E | Nov. 29, 2019, 4:30 p.m. | OK | GNU C++11 | TESTS | 26 | 124 | 25088000 | 2000 | |
66167026 | myx12345 | E | Dec. 2, 2019, 8:13 a.m. | OK | GNU C++11 | TESTS | 42 | 124 | 48025600 | 2000 | |
65993311 | playf | E | Nov. 29, 2019, 5:10 p.m. | OK | GNU C++11 | TESTS | 26 | 139 | 10035200 | 2000 | |
66226329 | njtech1401170216 | E | Dec. 3, 2019, 12:45 p.m. | OK | GNU C++11 | TESTS | 42 | 140 | 14438400 | 2000 | |
67877307 | geneanlyz | E | Dec. 29, 2019, 1:48 p.m. | OK | GNU C++11 | TESTS | 42 | 155 | 6451200 | 2000 | |
66020705 | __Darkmoon | E | Nov. 30, 2019, 7:16 a.m. | OK | GNU C++11 | TESTS | 35 | 155 | 33075200 | 2000 | |
66145436 | BeNoble | E | Dec. 1, 2019, 4:21 p.m. | OK | GNU C++11 | TESTS | 42 | 156 | 27238400 | 2000 | |
66173046 | wannape | E | Dec. 2, 2019, 11:17 a.m. | OK | GNU C++11 | TESTS | 42 | 156 | 29081600 | 2000 | |
66020595 | __Darkmoon | E | Nov. 30, 2019, 7:13 a.m. | OK | GNU C++11 | TESTS | 35 | 156 | 33075200 | 2000 | |
67507950 | yuzhechuan | E | Dec. 24, 2019, 8:06 a.m. | OK | GNU C++11 | TESTS | 42 | 171 | 49152000 | 2000 | |
66085397 | mig | E | Dec. 1, 2019, 4:12 a.m. | OK | GNU C++14 | TESTS | 42 | 93 | 21094400 | 2000 | |
66053162 | mig | E | Nov. 30, 2019, 6:16 p.m. | OK | GNU C++14 | TESTS | 42 | 93 | 21094400 | 2000 | |
66225815 | Turkey | E | Dec. 3, 2019, 12:34 p.m. | OK | GNU C++14 | TESTS | 42 | 93 | 27033600 | 2000 | |
66003868 | Fischer | E | Nov. 29, 2019, 8:19 p.m. | OK | GNU C++14 | TESTS | 35 | 93 | 29081600 | 2000 | |
66231807 | mateusz | E | Dec. 3, 2019, 2:41 p.m. | OK | GNU C++14 | TESTS | 42 | 108 | 18022400 | 2000 | |
66048613 | dlwocks31 | E | Nov. 30, 2019, 4:11 p.m. | OK | GNU C++14 | TESTS | 42 | 109 | 16793600 | 2000 | |
66005281 | Fischer | E | Nov. 29, 2019, 9:14 p.m. | OK | GNU C++14 | TESTS | 35 | 109 | 29081600 | 2000 | |
66877652 | Indecchi | E | Dec. 14, 2019, 3:28 p.m. | OK | GNU C++14 | TESTS | 42 | 124 | 10854400 | 2000 | |
66178620 | OMG_wc | E | Dec. 2, 2019, 12:01 p.m. | OK | GNU C++14 | TESTS | 42 | 124 | 14131200 | 2000 | |
65993777 | xvenom99 | E | Nov. 29, 2019, 5:13 p.m. | OK | GNU C++14 | TESTS | 26 | 124 | 16793600 | 2000 | |
66000925 | happypotamus | E | Nov. 29, 2019, 7:07 p.m. | OK | GNU C++17 | TESTS | 26 | 62 | 28057600 | 2000 | |
66000636 | racsosabe | E | Nov. 29, 2019, 7 p.m. | OK | GNU C++17 | TESTS | 26 | 108 | 29081600 | 2000 | |
66012841 | JAJA_Xin | E | Nov. 30, 2019, 3:41 a.m. | OK | GNU C++17 | TESTS | 35 | 109 | 26112000 | 2000 | |
66160103 | Love_oneplus | E | Dec. 2, 2019, 3:37 a.m. | OK | GNU C++17 | TESTS | 42 | 109 | 29081600 | 2000 | |
66144498 | badmachine77 | E | Dec. 1, 2019, 3:56 p.m. | OK | GNU C++17 | TESTS | 42 | 109 | 33075200 | 2000 | |
65995348 | PrincessConsuela | E | Nov. 29, 2019, 5:29 p.m. | OK | GNU C++17 | TESTS | 26 | 124 | 7782400 | 2000 | |
66003736 | ankeet | E | Nov. 29, 2019, 8:15 p.m. | OK | GNU C++17 | TESTS | 35 | 124 | 13619200 | 2000 | |
66166335 | higro | E | Dec. 2, 2019, 7:49 a.m. | OK | GNU C++17 | TESTS | 42 | 124 | 14848000 | 2000 | |
65999642 | f1u77y | E | Nov. 29, 2019, 6:39 p.m. | OK | GNU C++17 | TESTS | 26 | 124 | 18124800 | 2000 | |
66126638 | pqqqAn | E | Dec. 1, 2019, 10:38 a.m. | OK | GNU C++17 | TESTS | 42 | 124 | 25088000 | 2000 | |
66974637 | mikolaychuknn | E | Dec. 15, 2019, 2:15 p.m. | OK | Go | TESTS | 42 | 171 | 17817600 | 2000 | |
66002861 | Dukkha | E | Nov. 29, 2019, 7:53 p.m. | OK | Java 11 | TESTS | 35 | 373 | 33689600 | 2000 | |
66082239 | Pirigoticx | E | Dec. 1, 2019, 1:10 a.m. | OK | Java 11 | TESTS | 42 | 841 | 48640000 | 2000 | |
66082008 | Pirigoticx | E | Dec. 1, 2019, 12:52 a.m. | OK | Java 11 | TESTS | 42 | 920 | 40550400 | 2000 | |
65994763 | nikolay.v.mikhaylov | E | Nov. 29, 2019, 5:22 p.m. | OK | Java 8 | TESTS | 26 | 218 | 25907200 | 2000 | |
66001195 | StayAwayFromBitches | E | Nov. 29, 2019, 7:13 p.m. | OK | Java 8 | TESTS | 26 | 218 | 34816000 | 2000 | |
66019744 | thisbeit | E | Nov. 30, 2019, 6:55 a.m. | OK | Java 8 | TESTS | 35 | 248 | 30412800 | 2000 | |
66155162 | beroul | E | Dec. 1, 2019, 9:40 p.m. | OK | Java 8 | TESTS | 42 | 249 | 72704000 | 2000 | |
67135174 | Oland | E | Dec. 18, 2019, 3:40 a.m. | OK | Java 8 | TESTS | 42 | 452 | 72601600 | 2000 | |
65985855 | Baelish | E | Nov. 29, 2019, 4:08 p.m. | OK | Java 8 | TESTS | 26 | 467 | 62464000 | 2000 | |
66019398 | KharYusuf | E | Nov. 30, 2019, 6:47 a.m. | OK | Java 8 | TESTS | 35 | 482 | 54476800 | 2000 | |
66000953 | aminul | E | Nov. 29, 2019, 7:07 p.m. | OK | Java 8 | TESTS | 26 | 483 | 62464000 | 2000 | |
65999904 | aminul | E | Nov. 29, 2019, 6:44 p.m. | OK | Java 8 | TESTS | 26 | 483 | 62464000 | 2000 | |
66245462 | unicorn20141 | E | Dec. 3, 2019, 8:15 p.m. | OK | Java 8 | TESTS | 42 | 498 | 32768000 | 2000 | |
66087690 | Spheniscine | E | Dec. 1, 2019, 5:50 a.m. | OK | Kotlin | TESTS | 42 | 249 | 22835200 | 2000 | |
66027750 | Spheniscine | E | Nov. 30, 2019, 9:11 a.m. | OK | Kotlin | TESTS | 35 | 265 | 22835200 | 2000 | |
66021206 | Spheniscine | E | Nov. 30, 2019, 7:25 a.m. | OK | Kotlin | TESTS | 35 | 733 | 43110400 | 2000 | |
66022848 | Spheniscine | E | Nov. 30, 2019, 7:51 a.m. | OK | Kotlin | TESTS | 35 | 780 | 43315200 | 2000 | |
66453541 | artworks | E | Dec. 7, 2019, 12:21 p.m. | OK | Mono C# | TESTS | 42 | 483 | 40243200 | 2000 | |
65998204 | mircea85 | E | Nov. 29, 2019, 6:13 p.m. | OK | Mono C# | TESTS | 26 | 951 | 159232000 | 2000 | |
66011552 | Apsara | E | Nov. 30, 2019, 2:51 a.m. | OK | MS C++ | TESTS | 35 | 171 | 41062400 | 2000 | |
66014421 | tarattata1 | E | Nov. 30, 2019, 4:38 a.m. | OK | MS C++ | TESTS | 35 | 187 | 29081600 | 2000 | |
66632610 | vjudge2 | E | Dec. 11, 2019, 11:44 a.m. | OK | MS C++ | TESTS | 42 | 296 | 49049600 | 2000 | |
66405329 | loenvom | E | Dec. 6, 2019, 1:31 p.m. | OK | MS C++ | TESTS | 42 | 514 | 54067200 | 2000 | |
65990870 | platter | E | Nov. 29, 2019, 4:31 p.m. | OK | MS C++ | TESTS | 26 | 546 | 35635200 | 2000 | |
66053312 | youx | E | Nov. 30, 2019, 6:21 p.m. | OK | MS C++ 2017 | TESTS | 42 | 202 | 13619200 | 2000 | |
66636496 | ICEY777 | E | Dec. 11, 2019, 1:07 p.m. | OK | MS C++ 2017 | TESTS | 42 | 312 | 52121600 | 2000 | |
65988458 | MinhNguye | E | Nov. 29, 2019, 4:20 p.m. | OK | MS C++ 2017 | TESTS | 26 | 795 | 55705600 | 2000 | |
65986836 | Sem_1337 | E | Nov. 29, 2019, 4:12 p.m. | OK | MS C++ 2017 | TESTS | 26 | 967 | 194560000 | 2000 | |
66039386 | windhunterSB | E | Nov. 30, 2019, 12:57 p.m. | OK | PyPy 2 | TESTS | 40 | 389 | 71168000 | 2000 | |
66010115 | pajenegod | E | Nov. 30, 2019, 1:52 a.m. | OK | PyPy 2 | TESTS | 35 | 498 | 85401600 | 2000 | |
66010044 | pajenegod | E | Nov. 30, 2019, 1:49 a.m. | OK | PyPy 2 | TESTS | 35 | 498 | 85401600 | 2000 | |
66216422 | Gerard14 | E | Dec. 3, 2019, 9:06 a.m. | OK | PyPy 2 | TESTS | 42 | 592 | 68505600 | 2000 | |
66216348 | Gerard14 | E | Dec. 3, 2019, 9:04 a.m. | OK | PyPy 2 | TESTS | 42 | 623 | 68608000 | 2000 | |
66259735 | tycyd | E | Dec. 4, 2019, 7:49 a.m. | OK | PyPy 3 | TESTS | 42 | 639 | 55808000 | 2000 | |
66081769 | mitribunskiy | E | Dec. 1, 2019, 12:32 a.m. | OK | PyPy 3 | TESTS | 42 | 763 | 112947200 | 2000 | |
66081690 | mitribunskiy | E | Dec. 1, 2019, 12:26 a.m. | OK | PyPy 3 | TESTS | 42 | 794 | 97894400 | 2000 | |
66211540 | cftt | E | Dec. 3, 2019, 6:59 a.m. | OK | PyPy 3 | TESTS | 42 | 935 | 104755200 | 2000 | |
66216298 | Gerard14 | E | Dec. 3, 2019, 9:03 a.m. | OK | PyPy 3 | TESTS | 42 | 936 | 106700800 | 2000 | |
66510415 | Gerard14 | E | Dec. 8, 2019, 4:17 p.m. | OK | PyPy 3 | TESTS | 42 | 936 | 106905600 | 2000 | |
66215853 | Gerard14 | E | Dec. 3, 2019, 8:52 a.m. | OK | PyPy 3 | TESTS | 42 | 936 | 107008000 | 2000 | |
66510267 | Gerard14 | E | Dec. 8, 2019, 4:12 p.m. | OK | PyPy 3 | TESTS | 42 | 951 | 107008000 | 2000 | |
66218996 | aberent | E | Dec. 3, 2019, 10:10 a.m. | OK | PyPy 3 | TESTS | 42 | 966 | 114278400 | 2000 | |
66081754 | mitribunskiy | E | Dec. 1, 2019, 12:31 a.m. | OK | PyPy 3 | TESTS | 42 | 982 | 110694400 | 2000 | |
65993360 | kobae964 | E | Nov. 29, 2019, 5:10 p.m. | OK | Rust | TESTS | 26 | 155 | 29491200 | 2000 | |
66006028 | sansen | E | Nov. 29, 2019, 9:48 p.m. | OK | Rust | TESTS | 35 | 264 | 34611200 | 2000 | |
66425460 | Leonardone | E | Dec. 6, 2019, 9:13 p.m. | OK | Rust | TESTS | 42 | 326 | 14336000 | 2000 | |
66425436 | Leonardone | E | Dec. 6, 2019, 9:11 p.m. | OK | Rust | TESTS | 42 | 327 | 14336000 | 2000 | |
66005664 | sansen | E | Nov. 29, 2019, 9:31 p.m. | OK | Rust | TESTS | 35 | 358 | 42291200 | 2000 |
Back to search problems