2023-2024 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
1912 2023-2024 ICPC, NERC, Northern Eurasia Onsite (Unrated, Online Mirror, ICPC Rules, Teams Preferred) FINISHED False 18000 34727063 Dec. 13, 2023, 7:35 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 118 ) F Fugitive Frenzy PROGRAMMING math probabilities 3100

B"The city of F. can be represented as a tree. A famous fugitive is hiding in it, and today a faithful police officer decided to catch him at all costs. The police officer is stronger than the fugitive, but the fugitive is much faster than the former. That is why the pursuit proceeds as follows. At the moment t = 0 the police officer appears at the vertex with number s , and the fugitive spawns at any other vertex of his choice. After that, they take turns, starting with the police officer. Note that the fugitive managed to attach a radio bug to the police officer's badge a week ago, so the fugitive knows the location of the police officer at every moment (in particular, he knows the number s ). On the contrary, the police officer knows nothing about the fugitive's movements and will only be able to detect him at the very moment she catches him. The police officer aims to catch the fugitive as fast as possible, and the fugitive aims to be caught as late as possible. Since the chase can be thought of as a game with incomplete information, participants can use mixed (probabilistic) strategies -- thus, the police officer acts to minimize the expected duration of the chase, and the fugitive -- to maximize it. Find the mathematical expectation of the duration of the chase with optimal actions of the police officer and the fugitive. It can be proven that it is always finite. In particular, with optimal strategies, the probability that the chase continues indefinitely is equal to zero. The first line contains an integer n -- the number of vertices in the tree ( 2 <= n <= 100 ). The next n - 1 lines describe the city of F.: each of them contains a pair of integers u_i , v_i -- the numbers of the ends of an edge ( 1 <= u_i, v_i <= n ). These edges are guaranteed to form a tree. The last line contains an integer s -- the number of the vertex where the police officer initially appears ( 1 <= s <= n$"...

Tutorials

Tutorials (PDF)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
237030092 WGYHMFkZyA02 A_zjzj 275307894a F Dec. 13, 2023, 11:39 a.m. OK GNU C++14 TESTS 106 1497 204800 3100
237111042 liuhengxi F Dec. 14, 2023, 2:18 a.m. OK GNU C++14 TESTS 106 3790 102400 3100
237006438 maroonrk hos.lyric maspy F Dec. 13, 2023, 9:48 a.m. OK GNU C++17 TESTS 106 109 102400 3100
237018134 244mhq 353cerega 998batrr F Dec. 13, 2023, 10:48 a.m. OK GNU C++17 (64) TESTS 106 46 102400 3100
237111436 tarjen F Dec. 14, 2023, 2:29 a.m. OK GNU C++17 (64) TESTS 106 2667 204800 3100
237001957 emptyhope orzdevinwang amiya F Dec. 13, 2023, 9:21 a.m. OK GNU C++17 (64) TESTS 106 4024 102400 3100
237106681 unputdownable F Dec. 13, 2023, 11:58 p.m. OK GNU C++20 (64) TESTS 106 15 102400 3100
237106512 N_z__ F Dec. 13, 2023, 11:52 p.m. OK GNU C++20 (64) TESTS 106 218 102400 3100
237106317 negative1 F Dec. 13, 2023, 11:44 p.m. OK GNU C++20 (64) TESTS 106 218 102400 3100
237106542 Sparkle_Twilight F Dec. 13, 2023, 11:53 p.m. OK GNU C++20 (64) TESTS 106 234 102400 3100
237010767 Sorting gamegame Ronnie007 F Dec. 13, 2023, 10:13 a.m. OK GNU C++20 (64) TESTS 106 265 102400 3100
237105000 Radewoosh F Dec. 13, 2023, 10:57 p.m. OK GNU C++20 (64) TESTS 106 312 409600 3100
237030487 tfg Sana Snow-Flower F Dec. 13, 2023, 11:42 a.m. OK GNU C++20 (64) TESTS 106 343 102400 3100
237034056 Sulfox CSHwang thecold F Dec. 13, 2023, 11:54 a.m. OK GNU C++20 (64) TESTS 106 374 0 3100
237112595 Tobo F Dec. 14, 2023, 2:54 a.m. OK GNU C++20 (64) TESTS 106 468 102400 3100
237107527 negative1 F Dec. 14, 2023, 12:28 a.m. OK GNU C++20 (64) TESTS 106 514 204800 3100
237080087 F Dec. 13, 2023, 5:25 p.m. OK Unknown TESTS 0 0 0 3100

remove filters

Back to search problems