Codeforces Round 681 (Div. 1, based on VK Cup 2019-2020 - Final)

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
1442 Codeforces Round 681 (Div. 1, based on VK Cup 2019-2020 - Final) FINISHED False 7200 127495499 Nov. 2, 2020, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1707 ) C Graph Transpositions PROGRAMMING graphs greedy shortest paths

B'You are given a directed graph of n vertices and m edges. Vertices are numbered from 1 to n . There is a token in vertex 1 . The following actions are allowed: The goal is to move the token from vertex 1 to vertex n in the shortest possible time. Print this time modulo 998 ,244 ,353 . The first line of input contains two integers n, m ( 1 <= n, m <= 200 ,000 ). The next m lines contain two integers each: u, v ( 1 <= u, v <= n; u ne v ), which represent the edges of the graph. It is guaranteed that all ordered pairs (u, v) are distinct. It is guaranteed that it is possible to move the token from vertex 1 to vertex n using the actions above. Print one integer: the minimum required time modulo 998 ,244 ,353 . The first example can be solved by transposing the graph and moving the token to vertex 4 , taking 2 seconds. The best way to solve the second example is the following: transpose the graph, move the token to vertex 2 , transpose the graph again, move the token to vertex 3 , transpose the graph once more and move the token to vertex 4 . '...

Tutorials

84298

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
97476187 Gassa C Nov. 2, 2020, 3:56 p.m. OK D TESTS 29 280 30003200
97514575 gmh77 C Nov. 2, 2020, 11:19 p.m. OK GNU C++11 TESTS 33 109 29491200
97521925 CN_zwang2002 C Nov. 3, 2020, 3:22 a.m. OK GNU C++11 TESTS 34 140 48025600
97483847 Alleria C Nov. 2, 2020, 4:16 p.m. OK GNU C++11 TESTS 29 140 80179200
97519066 Mivik C Nov. 3, 2020, 2:17 a.m. OK GNU C++11 TESTS 34 171 28467200
97519084 Mivik C Nov. 3, 2020, 2:17 a.m. OK GNU C++11 TESTS 34 186 28467200
97478546 CN_zwang2002 C Nov. 2, 2020, 4:02 p.m. OK GNU C++11 TESTS 29 187 50176000
97521893 CN_zwang2002 C Nov. 3, 2020, 3:21 a.m. OK GNU C++11 TESTS 34 202 49152000
97488046 fr200110217102 C Nov. 2, 2020, 4:26 p.m. OK GNU C++11 TESTS 29 218 29798400
97478561 nwi C Nov. 2, 2020, 4:02 p.m. OK GNU C++11 TESTS 29 233 14950400
97479387 dqa2020 C Nov. 2, 2020, 4:04 p.m. OK GNU C++11 TESTS 29 233 63692800
97496996 antguz C Nov. 2, 2020, 5:32 p.m. OK GNU C++14 TESTS 29 280 22630400
97484062 SuperJ6 C Nov. 2, 2020, 4:16 p.m. OK GNU C++14 TESTS 29 295 48742400
97485345 JENXLS C Nov. 2, 2020, 4:19 p.m. OK GNU C++14 TESTS 29 311 47616000
97502126 caoyizhong C Nov. 2, 2020, 6:27 p.m. OK GNU C++14 TESTS 30 327 13721600
97494757 SuperJ6 C Nov. 2, 2020, 5:15 p.m. OK GNU C++14 TESTS 29 343 157696000
97489557 siddhant22 C Nov. 2, 2020, 4:29 p.m. OK GNU C++14 TESTS 29 358 40140800
97523174 Graphter C Nov. 3, 2020, 3:53 a.m. OK GNU C++14 TESTS 34 374 24268800
97528152 purinliang C Nov. 3, 2020, 5:37 a.m. OK GNU C++14 TESTS 35 405 147251200
97510869 I_Love_Trott C Nov. 2, 2020, 9:04 p.m. OK GNU C++14 TESTS 32 436 68505600
97489379 knightL C Nov. 2, 2020, 4:29 p.m. OK GNU C++14 TESTS 29 451 27648000
97519602 SirShokoladina C Nov. 3, 2020, 2:33 a.m. OK GNU C++17 TESTS 34 124 9625600
97511450 SirShokoladina C Nov. 2, 2020, 9:20 p.m. OK GNU C++17 TESTS 32 124 9625600
97519348 SirShokoladina C Nov. 3, 2020, 2:26 a.m. OK GNU C++17 TESTS 34 124 12083200
97519293 SirShokoladina C Nov. 3, 2020, 2:24 a.m. OK GNU C++17 TESTS 34 124 12800000
97520112 SirShokoladina C Nov. 3, 2020, 2:45 a.m. OK GNU C++17 TESTS 34 139 9625600
97510923 SirShokoladina C Nov. 2, 2020, 9:06 p.m. OK GNU C++17 TESTS 32 139 11673600
97519787 SirShokoladina C Nov. 3, 2020, 2:38 a.m. OK GNU C++17 TESTS 34 139 12083200
97519989 SirShokoladina C Nov. 3, 2020, 2:42 a.m. OK GNU C++17 TESTS 34 139 12083200
97510371 SirShokoladina C Nov. 2, 2020, 8:50 p.m. OK GNU C++17 TESTS 32 139 13209600
97523360 SirShokoladina C Nov. 3, 2020, 3:57 a.m. OK GNU C++17 TESTS 34 140 9625600
97487359 Linkus C Nov. 2, 2020, 4:24 p.m. OK GNU C++17 (64) TESTS 29 187 17510400
97514136 LayCurse C Nov. 2, 2020, 11 p.m. OK GNU C++17 (64) TESTS 33 187 156057600
97464597 teapotd C Nov. 2, 2020, 3:29 p.m. OK GNU C++17 (64) TESTS 29 202 48537600
97460611 noimi C Nov. 2, 2020, 3:21 p.m. OK GNU C++17 (64) TESTS 29 217 15564800
97515419 rafaelgo2 C Nov. 2, 2020, 11:59 p.m. OK GNU C++17 (64) TESTS 33 249 18022400
97466119 haruki_K C Nov. 2, 2020, 3:33 p.m. OK GNU C++17 (64) TESTS 29 280 27340800
97459928 Nyaan C Nov. 2, 2020, 3:20 p.m. OK GNU C++17 (64) TESTS 29 311 62566400
97468590 gamegame C Nov. 2, 2020, 3:38 p.m. OK GNU C++17 (64) TESTS 29 327 57036800
97513903 smax C Nov. 2, 2020, 10:49 p.m. OK GNU C++17 (64) TESTS 33 358 41574400
97461787 Benq C Nov. 2, 2020, 3:23 p.m. OK GNU C++17 (64) TESTS 29 404 64204800
97462669 uwi C Nov. 2, 2020, 3:25 p.m. OK Java 11 TESTS 29 795 57036800
97497655 Agnimandur C Nov. 2, 2020, 5:38 p.m. OK Java 11 TESTS 29 1856 143667200
97485441 adp527 C Nov. 2, 2020, 4:20 p.m. OK Java 8 TESTS 29 748 24985600
97509974 martins C Nov. 2, 2020, 8:40 p.m. OK Java 8 TESTS 32 1621 76083200
97498797 martins C Nov. 2, 2020, 5:49 p.m. OK Java 8 TESTS 29 1964 80896000
97508762 martins C Nov. 2, 2020, 8:13 p.m. OK Java 8 TESTS 32 2027 79360000
97489195 martins C Nov. 2, 2020, 4:28 p.m. OK Java 8 TESTS 29 2402 523571200
97469534 cwise C Nov. 2, 2020, 3:40 p.m. OK Java 8 TESTS 29 2683 274739200
97465099 Tlatoani C Nov. 2, 2020, 3:30 p.m. OK Kotlin TESTS 29 1075 46080000
97479729 pichulia C Nov. 2, 2020, 4:05 p.m. OK MS C++ 2017 TESTS 29 1544 87552000
97517472 tarattata1 C Nov. 3, 2020, 1:24 a.m. OK MS C++ 2017 TESTS 34 2401 280166400
97498945 Yupiteru C Nov. 2, 2020, 5:51 p.m. OK .NET Core C# TESTS 29 950 115404800
97483407 nagiss C Nov. 2, 2020, 4:14 p.m. OK PyPy 3 TESTS 29 1232 113049600
97483277 titia C Nov. 2, 2020, 4:14 p.m. OK PyPy 3 TESTS 29 1278 41779200
97479556 kclee2172 C Nov. 2, 2020, 4:05 p.m. OK PyPy 3 TESTS 29 2199 68915200
97500605 sh1194 C Nov. 2, 2020, 6:08 p.m. OK Python 3 TESTS 30 1902 63692800
97502963 sansen C Nov. 2, 2020, 6:37 p.m. OK Rust TESTS 30 889 52531200
97488252 ngtkana C Nov. 2, 2020, 4:26 p.m. OK Rust TESTS 29 2666 188006400

remove filters

Back to search problems