2021-2022 ICPC, NERC, Northern Eurasia Onsite (Unrated, Online Mirror, ICPC Rules, Teams Preferred)

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
1666 2021-2022 ICPC, NERC, Northern Eurasia Onsite (Unrated, Online Mirror, ICPC Rules, Teams Preferred) FINISHED False 18000 81986099 April 13, 2022, 8:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3155 ) L Labyrinth PROGRAMMING dfs and similar graphs

B'Leslie and Leon entered a labyrinth. The labyrinth consists of n halls and m one-way passages between them. The halls are numbered from 1 to n . Leslie and Leon start their journey in the hall s . Right away, they quarrel and decide to explore the labyrinth separately. However, they want to meet again at the end of their journey. To help Leslie and Leon, your task is to find two different paths from the given hall s to some other hall t , such that these two paths do not share halls other than the staring hall s and the ending hall t . The hall t has not been determined yet, so you can choose any of the labyrinth 's halls as t except s . Leslie 's and Leon 's paths do not have to be the shortest ones, but their paths must be simple, visiting any hall at most once. Also, they cannot visit any common halls except s and t during their journey, even at different times. The first line contains three integers n , m , and s , where n ( 2 <= n <= 2 cdot 10^5 ) is the number of vertices, m ( 0 <= m <= 2 cdot 10^5 ) is the number of edges in the labyrinth, and s ( 1 <= s <= n ) is the starting hall. Then m lines with descriptions of passages follow. Each description contains two integers u_i , v_i ( 1 <= u_i, v_i <= n ; u_i neq v_i ), denoting a passage from the hall u_i to the hall v_i . The passages are one-way. Each tuple (u_i, v_i) is present in the input at most once. The labyrinth can contain cycles and is not necessarily connected in any way. If it is possible to find the desired two paths, output "Possible", otherwise output "Impossible". If the answer exists, output two path descriptions. Each description occupies two lines. The first line of the description contains an integer h ( 2 <= h <= n ) -- the number of halls in a path, and the second line contains distin'...

Tutorials

Tutorial (PDF)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
153538136 LZDQ heaksicn andychen2012 L April 13, 2022, 8:58 a.m. OK GNU C++14 TESTS 75 93 5427200
153538726 sd_ltt PolarAid PurpleWonder L April 13, 2022, 9:03 a.m. OK GNU C++14 TESTS 75 93 11980800
153548139 Commonrain fzcsyglq NULL0x7f L April 13, 2022, 10:36 a.m. OK GNU C++14 TESTS 75 108 8294400
153569340 FascTide L April 13, 2022, 2:16 p.m. OK GNU C++14 TESTS 75 108 9011200
153605533 xiaohuli L April 14, 2022, 4:21 a.m. OK GNU C++14 TESTS 75 108 10444800
153543602 queueOYL L April 13, 2022, 9:48 a.m. OK GNU C++14 TESTS 75 108 10444800
153552876 wsyhb L April 13, 2022, 11:27 a.m. OK GNU C++14 TESTS 75 108 10752000
153556231 2020BNUAIer bnu20DT L April 13, 2022, 12:03 p.m. OK GNU C++14 TESTS 75 108 12288000
153550063 qhh L April 13, 2022, 10:57 a.m. OK GNU C++14 TESTS 75 108 14745600
153561758 allSheWrote L April 13, 2022, 1 p.m. OK GNU C++14 TESTS 75 109 5939200
153535802 Macesuted-Moe vccaiji Alfnov L April 13, 2022, 8:39 a.m. OK GNU C++17 TESTS 75 46 28672000
153553265 lrb666 sgly33 zhangpangpang L April 13, 2022, 11:31 a.m. OK GNU C++17 TESTS 75 77 28057600
153535136 zhaosongwen tang666 jiaangk_ L April 13, 2022, 8:33 a.m. OK GNU C++17 TESTS 75 93 7475200
153570469 panyaoyu1999 L April 13, 2022, 2:32 p.m. OK GNU C++17 TESTS 75 93 11161600
153541143 Thost L April 13, 2022, 9:24 a.m. OK GNU C++17 TESTS 75 93 12800000
153571157 Young L April 13, 2022, 2:42 p.m. OK GNU C++17 TESTS 75 108 9011200
153551577 KongJohnny luck_666 yilunyou L April 13, 2022, 11:13 a.m. OK GNU C++17 TESTS 75 108 10649600
153560572 koifish lyzqs Bsqaq L April 13, 2022, 12:48 p.m. OK GNU C++17 TESTS 75 109 5939200
153560856 abhinav4279 L April 13, 2022, 12:51 p.m. OK GNU C++17 TESTS 75 109 9011200
153554954 Isfandiyor L April 13, 2022, 11:49 a.m. OK GNU C++17 TESTS 75 109 9011200
153545540 lbm364dl L April 13, 2022, 10:08 a.m. OK GNU C++17 (64) TESTS 75 108 10752000
153540088 Raiden steinum L April 13, 2022, 9:15 a.m. OK GNU C++17 (64) TESTS 75 108 10752000
153554020 i_m_swachha rifatrraazz __saanto_ L April 13, 2022, 11:39 a.m. OK GNU C++17 (64) TESTS 75 108 11571200
153556864 yaoveil happywater ze_kun L April 13, 2022, 12:09 p.m. OK GNU C++17 (64) TESTS 75 108 11776000
153558729 hushnow tczzz CofDoria L April 13, 2022, 12:28 p.m. OK GNU C++17 (64) TESTS 75 108 26419200
153539938 zetapi shiven L April 13, 2022, 9:14 a.m. OK GNU C++17 (64) TESTS 75 108 32051200
153533215 Froggay Alan233 tzxydby L April 13, 2022, 8:17 a.m. OK GNU C++17 (64) TESTS 75 109 12083200
153553066 yezzz HeartFireY gongkoufadongji L April 13, 2022, 11:29 a.m. OK GNU C++17 (64) TESTS 75 109 14438400
153569457 YL-9 L April 13, 2022, 2:18 p.m. OK GNU C++17 (64) TESTS 75 109 22425600
153599017 miagkov TheOneYouWant lucasxia01 L April 14, 2022, 1:12 a.m. OK GNU C++17 (64) TESTS 75 109 29696000
153543114 wangtushan L April 13, 2022, 9:44 a.m. OK GNU C++20 (64) TESTS 75 62 11264000
153539971 x_faraway_x dujvet zhihei2000 L April 13, 2022, 9:14 a.m. OK GNU C++20 (64) TESTS 75 77 24780800
153570752 A_G L April 13, 2022, 2:36 p.m. OK GNU C++20 (64) TESTS 75 78 13107200
153601317 CarryNotKarry L April 14, 2022, 2:27 a.m. OK GNU C++20 (64) TESTS 75 78 18124800
153543703 IsCarryNotKarry L April 13, 2022, 9:49 a.m. OK GNU C++20 (64) TESTS 75 78 18124800
153543813 xin_babys_Little_fanboy L April 13, 2022, 9:50 a.m. OK GNU C++20 (64) TESTS 75 78 40755200
153609776 milind0110 L April 14, 2022, 5:42 a.m. OK GNU C++20 (64) TESTS 75 93 11264000
153601043 Huangwenhu L April 14, 2022, 2:19 a.m. OK GNU C++20 (64) TESTS 75 93 11264000
153582561 L.Morningstar L April 13, 2022, 5:43 p.m. OK GNU C++20 (64) TESTS 75 93 11264000
153566712 jackson4800 L April 13, 2022, 1:42 p.m. OK GNU C++20 (64) TESTS 75 93 11264000
153547013 kencho tsukiko_tsutsukakushi _su1sen L April 13, 2022, 10:24 a.m. OK Java 11 TESTS 75 358 20992000
153537898 knightL L April 13, 2022, 8:56 a.m. OK Java 11 TESTS 75 514 26624000
153540150 insert_cool_handle L April 13, 2022, 9:15 a.m. OK Java 11 TESTS 75 514 143974400
153546649 merlin_ L April 13, 2022, 10:20 a.m. OK Java 11 TESTS 75 670 76595200
153586269 Serg_ L April 13, 2022, 6:46 p.m. OK Java 11 TESTS 75 1185 44134400
153566583 Sahiladhikari11 L April 13, 2022, 1:41 p.m. OK Java 11 TESTS 75 1902 218316800
153554122 kubamik L April 13, 2022, 11:41 a.m. OK Java 11 TESTS 75 2276 32460800
153575967 RetARDed1111 L April 13, 2022, 3:55 p.m. OK Java 8 TESTS 75 1216 5017600
153542818 z8hc2 BIvanV _Astron L April 13, 2022, 9:41 a.m. OK Kotlin 1.4 TESTS 75 780 133836800
153543732 Staelth CrashMaster L April 13, 2022, 9:50 a.m. OK MS C++ 2017 TESTS 75 374 16076800
153566459 kibastian L April 13, 2022, 1:39 p.m. OK MS C++ 2017 TESTS 75 420 27238400
153564293 XYShaoKang L April 13, 2022, 1:27 p.m. OK Node.js TESTS 75 811 81408000
153542055 lemiao12 iamttm L April 13, 2022, 9:33 a.m. OK PyPy 3 TESTS 75 389 34918400
153557922 ruimina L April 13, 2022, 12:20 p.m. OK PyPy 3 TESTS 75 701 80076800
153574973 xiema L April 13, 2022, 3:40 p.m. OK PyPy 3 TESTS 75 2292 91750400
153571696 pokerdio L April 13, 2022, 2:50 p.m. OK PyPy 3-64 TESTS 75 561 54374400
153565889 unknownSolver L April 13, 2022, 1:32 p.m. OK PyPy 3-64 TESTS 75 1590 56217600
153540640 Xabilahu L April 13, 2022, 9:20 a.m. OK PyPy 3-64 TESTS 75 2105 66355200
153589500 coder_sounak L April 13, 2022, 7:56 p.m. OK Python 3 TESTS 75 1029 214835200
153538300 Spheniscine L April 13, 2022, 9 a.m. OK Rust 2021 TESTS 75 78 20889600
153537359 sansen L April 13, 2022, 8:52 a.m. OK Rust 2021 TESTS 75 108 57139200
153560848 robostac L April 13, 2022, 12:50 p.m. OK Rust 2021 TESTS 75 170 25497600

remove filters

Back to search problems