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 |
---|---|---|---|---|---|---|
747 | Codeforces Round 387 (Div. 2) | FINISHED | False | 7200 | 255412523 | Dec. 19, 2016, 2:05 a.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 1980 ) | E | Comments | PROGRAMMING | dfs and similar expression parsing implementation strings | 1700 |
B'A rare article in the Internet is posted without a possibility to comment it. On a Polycarp 's website each article has comments feed. Each comment on Polycarp 's website is a non-empty string consisting of uppercase and lowercase letters of English alphabet. Comments have tree-like structure, that means each comment except root comments (comments of the highest level) has exactly one parent comment. When Polycarp wants to save comments to his hard drive he uses the following format. Each comment he writes in the following format: For example, if the comments look like: then the first comment is written as "hello,2,ok,0,bye,0", the second is written as "test,0", the third comment is written as "one,1,two,2,a,0,b,0". The whole comments feed is written as: "hello,2,ok,0,bye,0,test,0,one,1,two,2,a,0,b,0". For a given comments feed in the format specified above print the comments in a different format: The first line contains non-empty comments feed in the described format. It consists of uppercase and lowercase letters of English alphabet, digits and commas. It is guaranteed that each comment is a non-empty string consisting of uppercase and lowercase English characters. Each of the number of comments is integer (consisting of at least one digit), and either equals 0 or does not contain leading zeros. The length of the whole string does not exceed 106. It is guaranteed that given structure of comments is valid. Print comments in a format that is given in the statement. For each level of nesting, comments should be printed in the order they are given in the input. The first example is explained in the statements. '... |
49171 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
23141511 | FalseMirror | E | Dec. 19, 2016, 2:47 p.m. | OK | D | TESTS | 44 | 171 | 54272000 | 1700 | |
23124236 | SirNickolas | E | Dec. 19, 2016, 3:07 a.m. | OK | D | TESTS | 44 | 202 | 30924800 | 1700 | |
23135942 | Daryusz | E | Dec. 19, 2016, 10:39 a.m. | OK | FPC | TESTS | 44 | 608 | 42188800 | 1700 | |
23557279 | romanfixture1404 | E | Jan. 5, 2017, 3:02 p.m. | OK | FPC | TESTS | 44 | 639 | 44236800 | 1700 | |
23124491 | s34vv1nd | E | Dec. 19, 2016, 3:11 a.m. | OK | FPC | TESTS | 44 | 654 | 55193600 | 1700 | |
23205824 | Sanja | E | Dec. 21, 2016, 5:41 p.m. | OK | FPC | TESTS | 44 | 686 | 56217600 | 1700 | |
23124582 | nguyenxxxxxxx | E | Dec. 19, 2016, 3:12 a.m. | OK | FPC | TESTS | 44 | 982 | 32256000 | 1700 | |
23172938 | ngattaro1 | E | Dec. 20, 2016, 8:39 a.m. | OK | FPC | TESTS | 44 | 982 | 43212800 | 1700 | |
23126613 | hakunokishinami | E | Dec. 19, 2016, 3:47 a.m. | OK | FPC | TESTS | 44 | 997 | 48230400 | 1700 | |
23337809 | Gray_58 | E | Dec. 26, 2016, 10:28 a.m. | OK | FPC | TESTS | 44 | 998 | 51507200 | 1700 | |
23328875 | Swordelf | E | Dec. 25, 2016, 9:13 p.m. | OK | GNU C | TESTS | 44 | 46 | 22220800 | 1700 | |
23126529 | legitawesome | E | Dec. 19, 2016, 3:45 a.m. | OK | GNU C | TESTS | 44 | 62 | 51200000 | 1700 | |
23336514 | yeyushengfan | E | Dec. 26, 2016, 9:12 a.m. | OK | GNU C | TESTS | 44 | 93 | 40345600 | 1700 | |
24251572 | Tebak_Siapa_Aku | E | Jan. 29, 2017, 4:09 p.m. | OK | GNU C | TESTS | 44 | 124 | 24985600 | 1700 | |
23165892 | rainboy | E | Dec. 19, 2016, 10:03 p.m. | OK | GNU C | TESTS | 44 | 156 | 43110400 | 1700 | |
23359403 | Ali.Pi | E | Dec. 27, 2016, 12:58 p.m. | OK | GNU C++ | TESTS | 44 | 31 | 35123200 | 1700 | |
28686766 | vjudge3 | E | July 19, 2017, 6:36 a.m. | OK | GNU C++ | TESTS | 44 | 46 | 35123200 | 1700 | |
26695027 | SoiMae | E | April 27, 2017, 2:40 a.m. | OK | GNU C++ | TESTS | 44 | 61 | 35123200 | 1700 | |
24914440 | imathi | E | Feb. 23, 2017, 11 a.m. | OK | GNU C++ | TESTS | 44 | 62 | 30310400 | 1700 | |
23639551 | cyand1317 | E | Jan. 8, 2017, 4 a.m. | OK | GNU C++ | TESTS | 44 | 62 | 31129600 | 1700 | |
23140794 | hay | E | Dec. 19, 2016, 2:14 p.m. | OK | GNU C++ | TESTS | 44 | 62 | 31129600 | 1700 | |
23125424 | cloverhxy | E | Dec. 19, 2016, 3:26 a.m. | OK | GNU C++ | TESTS | 44 | 62 | 35123200 | 1700 | |
23124778 | qwsin | E | Dec. 19, 2016, 3:15 a.m. | OK | GNU C++ | TESTS | 44 | 62 | 35123200 | 1700 | |
23125379 | FromATP | E | Dec. 19, 2016, 3:25 a.m. | OK | GNU C++ | TESTS | 44 | 62 | 44953600 | 1700 | |
23125425 | hld67890 | E | Dec. 19, 2016, 3:26 a.m. | OK | GNU C++ | TESTS | 44 | 62 | 49561600 | 1700 | |
23354988 | Ali.Pi | E | Dec. 27, 2016, 8:12 a.m. | OK | GNU C++11 | TESTS | 44 | 31 | 35123200 | 1700 | |
23127679 | zyf2000 | E | Dec. 19, 2016, 4:04 a.m. | OK | GNU C++11 | TESTS | 44 | 31 | 35123200 | 1700 | |
23130315 | lzr_010506 | E | Dec. 19, 2016, 5:51 a.m. | OK | GNU C++11 | TESTS | 44 | 31 | 47104000 | 1700 | |
40982935 | ReaLNero1 | E | July 30, 2018, 6:38 p.m. | OK | GNU C++11 | TESTS | 44 | 46 | 45056000 | 1700 | |
23193196 | imone | E | Dec. 21, 2016, 7:32 a.m. | OK | GNU C++11 | TESTS | 44 | 61 | 34201600 | 1700 | |
25811621 | hitJudge | E | March 26, 2017, 5:55 a.m. | OK | GNU C++11 | TESTS | 44 | 62 | 23142400 | 1700 | |
25811601 | hitJudge | E | March 26, 2017, 5:54 a.m. | OK | GNU C++11 | TESTS | 44 | 62 | 23142400 | 1700 | |
23126366 | lmn0x4F | E | Dec. 19, 2016, 3:42 a.m. | OK | GNU C++11 | TESTS | 44 | 62 | 33689600 | 1700 | |
23122191 | eddy1021 | E | Dec. 19, 2016, 2:39 a.m. | OK | GNU C++11 | TESTS | 44 | 62 | 35225600 | 1700 | |
23133582 | zhangwei00 | E | Dec. 19, 2016, 8:37 a.m. | OK | GNU C++11 | TESTS | 44 | 62 | 39116800 | 1700 | |
23131951 | ramntry | E | Dec. 19, 2016, 7:17 a.m. | OK | GNU C++14 | TESTS | 44 | 61 | 17100800 | 1700 | |
23276133 | Mikhniuk | E | Dec. 24, 2016, 4:58 p.m. | OK | GNU C++14 | TESTS | 44 | 61 | 23040000 | 1700 | |
23607593 | Sonechko | E | Jan. 6, 2017, 5:16 p.m. | OK | GNU C++14 | TESTS | 44 | 61 | 31027200 | 1700 | |
23131787 | ramntry | E | Dec. 19, 2016, 7:09 a.m. | OK | GNU C++14 | TESTS | 44 | 62 | 18124800 | 1700 | |
23131734 | ramntry | E | Dec. 19, 2016, 7:07 a.m. | OK | GNU C++14 | TESTS | 44 | 62 | 23961600 | 1700 | |
23193466 | yashar_sb_sb | E | Dec. 21, 2016, 7:47 a.m. | OK | GNU C++14 | TESTS | 44 | 62 | 26624000 | 1700 | |
29281966 | supernaruto16 | E | Aug. 8, 2017, 9:07 a.m. | OK | GNU C++14 | TESTS | 44 | 62 | 27033600 | 1700 | |
28895743 | ArlanKuralbayev | E | July 26, 2017, 6:32 a.m. | OK | GNU C++14 | TESTS | 44 | 62 | 27033600 | 1700 | |
23206460 | Roballeron | E | Dec. 21, 2016, 6:18 p.m. | OK | GNU C++14 | TESTS | 44 | 62 | 31027200 | 1700 | |
23126592 | hjxcpg | E | Dec. 19, 2016, 3:47 a.m. | OK | GNU C++14 | TESTS | 44 | 62 | 35942400 | 1700 | |
45551005 | despair | E | Nov. 11, 2018, 5:16 a.m. | OK | GNU C++17 | TESTS | 44 | 77 | 36454400 | 1700 | |
64277022 | tfg | E | Nov. 4, 2019, 10:15 p.m. | OK | GNU C++17 | TESTS | 44 | 77 | 49356800 | 1700 | |
46675117 | henu_16l_lxl | E | Dec. 6, 2018, 9:19 a.m. | OK | GNU C++17 | TESTS | 44 | 77 | 57344000 | 1700 | |
68869684 | jonatas57 | E | Jan. 15, 2020, 2:44 p.m. | OK | GNU C++17 | TESTS | 44 | 93 | 20889600 | 1700 | |
52496734 | Skr008 | E | April 8, 2019, 2:02 p.m. | OK | GNU C++17 | TESTS | 44 | 93 | 25088000 | 1700 | |
63099626 | yuhta | E | Oct. 21, 2019, 11:01 p.m. | OK | GNU C++17 | TESTS | 44 | 93 | 25190400 | 1700 | |
46454824 | imreverse | E | Dec. 1, 2018, 5:53 p.m. | OK | GNU C++17 | TESTS | 44 | 93 | 28774400 | 1700 | |
65512489 | vjudge3 | E | Nov. 22, 2019, 4:58 a.m. | OK | GNU C++17 | TESTS | 44 | 93 | 32153600 | 1700 | |
41618886 | Tosic | E | Aug. 15, 2018, 10:57 a.m. | OK | GNU C++17 | TESTS | 44 | 93 | 35737600 | 1700 | |
47810756 | huyufeifei | E | Jan. 1, 2019, 11:08 a.m. | OK | GNU C++17 | TESTS | 44 | 93 | 45260800 | 1700 | |
63652947 | WangJialei | E | Oct. 28, 2019, 11:55 a.m. | OK | Go | TESTS | 44 | 171 | 68403200 | 1700 | |
63653131 | vjudge1 | E | Oct. 28, 2019, 11:58 a.m. | OK | Go | TESTS | 44 | 171 | 68403200 | 1700 | |
23148439 | AndreySiunov | E | Dec. 19, 2016, 4:53 p.m. | OK | Java 8 | TESTS | 44 | 295 | 58982400 | 1700 | |
23336059 | donli | E | Dec. 26, 2016, 8:47 a.m. | OK | Java 8 | TESTS | 44 | 326 | 68608000 | 1700 | |
23336005 | donli | E | Dec. 26, 2016, 8:44 a.m. | OK | Java 8 | TESTS | 44 | 326 | 68710400 | 1700 | |
23642034 | JialinOuyang | E | Jan. 8, 2017, 7:38 a.m. | OK | Java 8 | TESTS | 44 | 326 | 80896000 | 1700 | |
23136110 | rrepeat | E | Dec. 19, 2016, 10:48 a.m. | OK | Java 8 | TESTS | 44 | 358 | 52940800 | 1700 | |
23127498 | rrepeat | E | Dec. 19, 2016, 4:02 a.m. | OK | Java 8 | TESTS | 44 | 358 | 52940800 | 1700 | |
23167084 | BiIIy | E | Dec. 20, 2016, 12:29 a.m. | OK | Java 8 | TESTS | 44 | 358 | 85708800 | 1700 | |
58828808 | saurabhs1206 | E | Aug. 14, 2019, 5:01 p.m. | OK | Java 8 | TESTS | 44 | 389 | 60928000 | 1700 | |
23126036 | RAMBO_tejasv | E | Dec. 19, 2016, 3:36 a.m. | OK | Java 8 | TESTS | 44 | 389 | 74444800 | 1700 | |
23125373 | wolfib | E | Dec. 19, 2016, 3:25 a.m. | OK | Java 8 | TESTS | 44 | 405 | 76288000 | 1700 | |
23236845 | dabbler | E | Dec. 22, 2016, 9:23 p.m. | OK | JavaScript | TESTS | 44 | 529 | 67174400 | 1700 | |
23505914 | kraskevich | E | Jan. 2, 2017, 8:07 p.m. | OK | JavaScript | TESTS | 44 | 873 | 62668800 | 1700 | |
23125597 | niquefa_diego | E | Dec. 19, 2016, 3:28 a.m. | OK | Kotlin | TESTS | 44 | 670 | 150835200 | 1700 | |
26512922 | ScanNorOne | E | April 20, 2017, 10:26 a.m. | OK | Kotlin | TESTS | 44 | 1559 | 48025600 | 1700 | |
68126883 | hibatibati | E | Jan. 3, 2020, 3:30 p.m. | OK | Mono C# | TESTS | 44 | 436 | 64000000 | 1700 | |
23124392 | riantkb | E | Dec. 19, 2016, 3:09 a.m. | OK | Mono C# | TESTS | 44 | 451 | 72908800 | 1700 | |
26999797 | og.kostya | E | May 10, 2017, 4:23 p.m. | OK | MS C# | TESTS | 44 | 202 | 31948800 | 1700 | |
23377529 | nrvg | E | Dec. 28, 2016, 12:24 p.m. | OK | MS C# | TESTS | 44 | 452 | 57958400 | 1700 | |
23134598 | artsin666 | E | Dec. 19, 2016, 9:30 a.m. | OK | MS C# | TESTS | 44 | 1310 | 86528000 | 1700 | |
24274197 | AleksanderBalobanov | E | Jan. 30, 2017, 5:57 p.m. | OK | MS C++ | TESTS | 44 | 124 | 34304000 | 1700 | |
23122999 | Carups | E | Dec. 19, 2016, 2:48 a.m. | OK | MS C++ | TESTS | 44 | 124 | 38400000 | 1700 | |
23130019 | Leibniz_Zhang | E | Dec. 19, 2016, 5:35 a.m. | OK | MS C++ | TESTS | 44 | 140 | 18944000 | 1700 | |
24012580 | dklsfjlksdfj | E | Jan. 21, 2017, 1:47 p.m. | OK | MS C++ | TESTS | 44 | 140 | 48640000 | 1700 | |
23125416 | super100pig | E | Dec. 19, 2016, 3:26 a.m. | OK | MS C++ | TESTS | 44 | 155 | 34918400 | 1700 | |
23721060 | scorpiowf | E | Jan. 11, 2017, 3:26 p.m. | OK | MS C++ | TESTS | 44 | 171 | 40448000 | 1700 | |
23125887 | AU.Bahosain | E | Dec. 19, 2016, 3:33 a.m. | OK | MS C++ | TESTS | 44 | 187 | 60211200 | 1700 | |
24246193 | superwatermelon | E | Jan. 29, 2017, 11:40 a.m. | OK | MS C++ | TESTS | 44 | 530 | 45158400 | 1700 | |
27291868 | batya_322 | E | May 22, 2017, 11:44 p.m. | OK | MS C++ | TESTS | 44 | 545 | 16281600 | 1700 | |
23142593 | xarshila_ | E | Dec. 19, 2016, 3:44 p.m. | OK | MS C++ | TESTS | 44 | 545 | 37273600 | 1700 | |
23136339 | rsFalse | E | Dec. 19, 2016, 10:59 a.m. | OK | Perl | TESTS | 44 | 1060 | 137318400 | 1700 | |
23165100 | rsFalse | E | Dec. 19, 2016, 8:52 p.m. | OK | Perl | TESTS | 44 | 1138 | 137011200 | 1700 | |
23235615 | mayakin | E | Dec. 22, 2016, 7:49 p.m. | OK | PHP | TESTS | 44 | 1153 | 104243200 | 1700 | |
60280327 | Leendertz | E | Sept. 8, 2019, 8:21 p.m. | OK | PyPy 3 | TESTS | 44 | 452 | 45875200 | 1700 | |
33350282 | yugle7 | E | Dec. 17, 2017, 10:31 a.m. | OK | PyPy 3 | TESTS | 44 | 529 | 69017600 | 1700 | |
60277089 | HanaYukii | E | Sept. 8, 2019, 6:25 p.m. | OK | PyPy 3 | TESTS | 44 | 576 | 48742400 | 1700 | |
23129775 | Yash_ | E | Dec. 19, 2016, 5:22 a.m. | OK | PyPy 3 | TESTS | 44 | 576 | 85913600 | 1700 | |
23122448 | --d | E | Dec. 19, 2016, 2:42 a.m. | OK | PyPy 3 | TESTS | 44 | 608 | 85913600 | 1700 | |
23127445 | wanfranck | E | Dec. 19, 2016, 4:01 a.m. | OK | PyPy 3 | TESTS | 44 | 717 | 62976000 | 1700 | |
23252677 | cugel | E | Dec. 23, 2016, 5:14 p.m. | OK | PyPy 3 | TESTS | 44 | 1933 | 122982400 | 1700 | |
23123500 | nims11 | E | Dec. 19, 2016, 2:56 a.m. | OK | Python 2 | TESTS | 44 | 654 | 35942400 | 1700 | |
26925763 | chris.ryba | E | May 7, 2017, 2:51 p.m. | OK | Python 2 | TESTS | 44 | 748 | 29491200 | 1700 | |
23135820 | dredwerkz | E | Dec. 19, 2016, 10:33 a.m. | OK | Python 2 | TESTS | 44 | 764 | 25907200 | 1700 | |
23126543 | osev | E | Dec. 19, 2016, 3:46 a.m. | OK | Python 2 | TESTS | 44 | 779 | 45465600 | 1700 | |
23463703 | NicolasK | E | Dec. 31, 2016, 5:59 a.m. | OK | Python 2 | TESTS | 44 | 904 | 33689600 | 1700 | |
23131081 | relaxneko | E | Dec. 19, 2016, 6:34 a.m. | OK | Python 2 | TESTS | 44 | 1481 | 90009600 | 1700 | |
35980127 | vjudge5 | E | March 6, 2018, 2:54 a.m. | OK | Python 3 | TESTS | 44 | 623 | 34406400 | 1700 | |
23123489 | Aphanasiy | E | Dec. 19, 2016, 2:56 a.m. | OK | Python 3 | TESTS | 44 | 763 | 28262400 | 1700 | |
33350522 | yugle7 | E | Dec. 17, 2017, 10:42 a.m. | OK | Python 3 | TESTS | 44 | 1170 | 39731200 | 1700 | |
33350617 | yugle7 | E | Dec. 17, 2017, 10:47 a.m. | OK | Python 3 | TESTS | 44 | 1201 | 39116800 | 1700 | |
23127355 | uppi | E | Dec. 19, 2016, 4 a.m. | OK | Python 3 | TESTS | 44 | 1247 | 40038400 | 1700 | |
27365066 | eku | E | May 26, 2017, 11:56 p.m. | OK | Python 3 | TESTS | 44 | 1325 | 21913600 | 1700 | |
27429595 | gokjer | E | May 29, 2017, 1:04 p.m. | OK | Python 3 | TESTS | 44 | 1357 | 19968000 | 1700 | |
35979700 | vjudge5 | E | March 6, 2018, 2:03 a.m. | OK | Python 3 | TESTS | 44 | 1450 | 25907200 | 1700 | |
35979522 | vjudge4 | E | March 6, 2018, 1:40 a.m. | OK | Python 3 | TESTS | 44 | 1543 | 55296000 | 1700 | |
35979667 | vjudge5 | E | March 6, 2018, 1:59 a.m. | OK | Python 3 | TESTS | 44 | 1575 | 26316800 | 1700 |
Back to search problems