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 |
---|---|---|---|---|---|---|
1320 | Codeforces Round 625 (Div. 1, based on Technocup 2020 Final Round) | FINISHED | False | 7200 | 154284311 | March 1, 2020, 1:15 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 6088 ) | B | Navigation System | PROGRAMMING | dfs and similar shortest paths |
B"The map of Bertown can be represented as a set of n intersections, numbered from 1 to n and connected by m one-way roads. It is possible to move along the roads from any intersection to any other intersection. The length of some path from one intersection to another is the number of roads that one has to traverse along the path. The shortest path from one intersection v to another intersection u is the path that starts in v , ends in u and has the minimum length among all such paths. Polycarp lives near the intersection s and works in a building near the intersection t . Every day he gets from s to t by car. Today he has chosen the following path to his workplace: p_1 , p_2 , ..., p_k , where p_1 = s , p_k = t , and all other elements of this sequence are the intermediate intersections, listed in the order Polycarp arrived at them. Polycarp never arrived at the same intersection twice, so all elements of this sequence are pairwise distinct. Note that you know Polycarp's path beforehand (it is fixed), and it is not necessarily one of the shortest paths from s to t . Polycarp's car has a complex navigation system installed in it. Let's describe how it works. When Polycarp starts his journey at the intersection s , the system chooses some shortest path from s to t and shows it to Polycarp. Let's denote the next intersection in the chosen path as v . If Polycarp chooses to drive along the road from s to v , then the navigator shows him the same shortest path (obviously, starting from v as soon as he arrives at this intersection). However, if Polycarp chooses to drive to another intersection w instead, the navigator rebuilds the path: as soon as Polycarp arrives at w , the navigation system chooses some shortest path from w to t and shows it to Polycarp. The same process continues until Polycarp "... |
Codeforces Round #625 Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
72193090 | hos.lyric | B | March 1, 2020, 2:36 p.m. | OK | D | TESTS | 24 | 233 | 22630400 | ||
72181097 | iica | B | March 1, 2020, 1:53 p.m. | OK | D | TESTS | 24 | 639 | 74444800 | ||
72178415 | physics0523 | B | March 1, 2020, 1:45 p.m. | OK | GNU C11 | TESTS | 24 | 295 | 62976000 | ||
72169680 | nantf | B | March 1, 2020, 1:26 p.m. | OK | GNU C++11 | TESTS | 24 | 46 | 5632000 | ||
72174634 | hanyuwei | B | March 1, 2020, 1:35 p.m. | OK | GNU C++11 | TESTS | 24 | 46 | 5632000 | ||
72205347 | JoneySun | B | March 1, 2020, 4:38 p.m. | OK | GNU C++11 | TESTS | 24 | 46 | 6860800 | ||
72180493 | justin_cao | B | March 1, 2020, 1:51 p.m. | OK | GNU C++11 | TESTS | 24 | 61 | 5222400 | ||
72178573 | DOFY | B | March 1, 2020, 1:45 p.m. | OK | GNU C++11 | TESTS | 24 | 61 | 6860800 | ||
72178945 | luotc_why | B | March 1, 2020, 1:46 p.m. | OK | GNU C++11 | TESTS | 24 | 61 | 7680000 | ||
72174212 | Dilute_ | B | March 1, 2020, 1:35 p.m. | OK | GNU C++11 | TESTS | 24 | 61 | 7987200 | ||
72179801 | hs-black | B | March 1, 2020, 1:48 p.m. | OK | GNU C++11 | TESTS | 24 | 61 | 13414400 | ||
72177919 | UniverseofHK | B | March 1, 2020, 1:43 p.m. | OK | GNU C++11 | TESTS | 24 | 61 | 21299200 | ||
72180141 | forxen | B | March 1, 2020, 1:49 p.m. | OK | GNU C++11 | TESTS | 24 | 62 | 5427200 | ||
72170269 | QAQAutoMaton | B | March 1, 2020, 1:27 p.m. | OK | GNU C++14 | TESTS | 24 | 93 | 13209600 | ||
72175812 | tokitsukaze | B | March 1, 2020, 1:38 p.m. | OK | GNU C++14 | TESTS | 24 | 108 | 10547200 | ||
72176042 | Linkus | B | March 1, 2020, 1:39 p.m. | OK | GNU C++14 | TESTS | 24 | 139 | 32256000 | ||
72178486 | SidneyMars | B | March 1, 2020, 1:45 p.m. | OK | GNU C++14 | TESTS | 24 | 140 | 11264000 | ||
72172973 | idxcalcal | B | March 1, 2020, 1:32 p.m. | OK | GNU C++14 | TESTS | 24 | 140 | 13516800 | ||
72177163 | Hell_Eclipse | B | March 1, 2020, 1:41 p.m. | OK | GNU C++14 | TESTS | 24 | 140 | 31948800 | ||
72211891 | 860579 | B | March 1, 2020, 6:42 p.m. | OK | GNU C++14 | TESTS | 24 | 155 | 8192000 | ||
72181149 | SuperJ6 | B | March 1, 2020, 1:53 p.m. | OK | GNU C++14 | TESTS | 24 | 156 | 8192000 | ||
72171299 | wucstdio | B | March 1, 2020, 1:29 p.m. | OK | GNU C++14 | TESTS | 24 | 171 | 4812800 | ||
72182975 | 11231123 | B | March 1, 2020, 1:59 p.m. | OK | GNU C++14 | TESTS | 24 | 171 | 6144000 | ||
72171926 | JOHNKRAM | B | March 1, 2020, 1:30 p.m. | OK | GNU C++17 | TESTS | 24 | 77 | 42188800 | ||
72186875 | Qingyu | B | March 1, 2020, 2:12 p.m. | OK | GNU C++17 | TESTS | 24 | 93 | 14028800 | ||
72210422 | LiChenKoh | B | March 1, 2020, 6:13 p.m. | OK | GNU C++17 | TESTS | 24 | 108 | 13004800 | ||
72180832 | xyx0711 | B | March 1, 2020, 1:52 p.m. | OK | GNU C++17 | TESTS | 24 | 140 | 6963200 | ||
72170403 | interestingLSY | B | March 1, 2020, 1:27 p.m. | OK | GNU C++17 | TESTS | 24 | 140 | 16076800 | ||
72216484 | hoke_t | B | March 1, 2020, 8:36 p.m. | OK | GNU C++17 | TESTS | 24 | 155 | 8192000 | ||
72207269 | Monogon | B | March 1, 2020, 5:07 p.m. | OK | GNU C++17 | TESTS | 24 | 155 | 8192000 | ||
72171772 | Localization | B | March 1, 2020, 1:30 p.m. | OK | GNU C++17 | TESTS | 24 | 155 | 8192000 | ||
72185631 | joylintp | B | March 1, 2020, 2:08 p.m. | OK | GNU C++17 | TESTS | 24 | 155 | 9728000 | ||
72179641 | Thuleanx | B | March 1, 2020, 1:48 p.m. | OK | GNU C++17 | TESTS | 24 | 156 | 7577600 | ||
72173150 | uwi | B | March 1, 2020, 1:32 p.m. | OK | Java 11 | TESTS | 24 | 295 | 10854400 | ||
72171041 | Suzukaze | B | March 1, 2020, 1:28 p.m. | OK | Java 11 | TESTS | 24 | 546 | 34508800 | ||
72187353 | ZeyadKhattab | B | March 1, 2020, 2:14 p.m. | OK | Java 11 | TESTS | 24 | 764 | 66662400 | ||
72176021 | mikit | B | March 1, 2020, 1:39 p.m. | OK | Java 11 | TESTS | 24 | 779 | 71065600 | ||
72176014 | adamjamil | B | March 1, 2020, 1:38 p.m. | OK | Java 11 | TESTS | 24 | 1590 | 78336000 | ||
72201106 | DarLam | B | March 1, 2020, 3:10 p.m. | OK | Java 8 | TESTS | 24 | 280 | 14643200 | ||
72188286 | BNL | B | March 1, 2020, 2:17 p.m. | OK | Java 8 | TESTS | 24 | 342 | 35430400 | ||
72175488 | iakovlev.zakhar | B | March 1, 2020, 1:37 p.m. | OK | Java 8 | TESTS | 24 | 436 | 34713600 | ||
72213290 | ijxjdjd | B | March 1, 2020, 7:12 p.m. | OK | Java 8 | TESTS | 24 | 436 | 35840000 | ||
72175411 | cwise | B | March 1, 2020, 1:37 p.m. | OK | Java 8 | TESTS | 24 | 467 | 91750400 | ||
72214015 | Taran_1407 | B | March 1, 2020, 7:29 p.m. | OK | Java 8 | TESTS | 24 | 529 | 58265600 | ||
72175378 | BaZ_ | B | March 1, 2020, 1:37 p.m. | OK | Java 8 | TESTS | 24 | 529 | 72089600 | ||
72184394 | ASoboll | B | March 1, 2020, 2:04 p.m. | OK | Java 8 | TESTS | 24 | 623 | 74649600 | ||
72173241 | SecondThread | B | March 1, 2020, 1:33 p.m. | OK | Java 8 | TESTS | 24 | 670 | 73011200 | ||
72174957 | VArtem | B | March 1, 2020, 1:36 p.m. | OK | Java 8 | TESTS | 24 | 685 | 71680000 | ||
72180425 | elizarov | B | March 1, 2020, 1:50 p.m. | OK | Kotlin | TESTS | 24 | 639 | 18022400 | ||
72179324 | yakamoto | B | March 1, 2020, 1:47 p.m. | OK | Kotlin | TESTS | 24 | 686 | 65024000 | ||
72171769 | Tlatoani | B | March 1, 2020, 1:30 p.m. | OK | Kotlin | TESTS | 24 | 779 | 114278400 | ||
72207281 | plasma-effect | B | March 1, 2020, 5:07 p.m. | OK | Mono C# | TESTS | 24 | 576 | 54988800 | ||
72174726 | keymoon | B | March 1, 2020, 1:36 p.m. | OK | Mono C# | TESTS | 24 | 857 | 52019200 | ||
72176851 | math957963 | B | March 1, 2020, 1:41 p.m. | OK | MS C++ | TESTS | 24 | 171 | 12185600 | ||
72205185 | pichulia | B | March 1, 2020, 4:37 p.m. | OK | MS C++ 2017 | TESTS | 24 | 233 | 16896000 | ||
72216230 | Rudovich | B | March 1, 2020, 8:28 p.m. | OK | MS C++ 2017 | TESTS | 24 | 561 | 12902400 | ||
72206945 | Gravekper | B | March 1, 2020, 5:02 p.m. | OK | MS C++ 2017 | TESTS | 24 | 576 | 12902400 | ||
72187768 | AlexIlin | B | March 1, 2020, 2:15 p.m. | OK | MS C++ 2017 | TESTS | 24 | 577 | 12902400 | ||
72178832 | Friska | B | March 1, 2020, 1:46 p.m. | OK | MS C++ 2017 | TESTS | 24 | 670 | 28569600 | ||
72176916 | bcollet | B | March 1, 2020, 1:41 p.m. | OK | PyPy 2 | TESTS | 24 | 545 | 38195200 | ||
72176415 | conqueror_of_tourist | B | March 1, 2020, 1:39 p.m. | OK | PyPy 3 | TESTS | 24 | 904 | 46182400 | ||
72181376 | pineriver | B | March 1, 2020, 1:54 p.m. | OK | PyPy 3 | TESTS | 24 | 966 | 44544000 | ||
72178371 | titia | B | March 1, 2020, 1:44 p.m. | OK | PyPy 3 | TESTS | 24 | 997 | 53964800 | ||
72195003 | syphon | B | March 1, 2020, 2:44 p.m. | OK | PyPy 3 | TESTS | 24 | 1231 | 85299200 | ||
72173672 | nwi | B | March 1, 2020, 1:33 p.m. | OK | Python 2 | TESTS | 24 | 1138 | 58060800 | ||
72178487 | CHelle | B | March 1, 2020, 1:45 p.m. | OK | Python 3 | TESTS | 24 | 1278 | 42291200 | ||
72173385 | sansen | B | March 1, 2020, 1:33 p.m. | OK | Rust | TESTS | 24 | 140 | 17817600 |
Back to search problems