Central-European Olympiad in Informatics, CEOI 2020, Day 1 (IOI, Unofficial Mirror Contest, Unrated)

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
1402 Central-European Olympiad in Informatics, CEOI 2020, Day 1 (IOI, Unofficial Mirror Contest, Unrated) FINISHED False 18000 138909310 Aug. 26, 2020, 12:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 207 ) C Star Trek PROGRAMMING *special combinatorics dfs and similar dp games graphs matrices trees

B"The United Federation of Planets is an alliance of N planets, they are indexed from 1 to N . Some planets are connected by space tunnels. In a space tunnel, a starship can fly both ways really fast. There are exactly N-1 space tunnels, and we can travel from any planet to any other planet in the Federation using these tunnels. It's well known that there are D additional parallel universes. These are exact copies of our universe, they have the same planets and space tunnels. They are indexed from 1 to D (our universe has index 0 ). We denote the planet x in universe i by P_x^i . We can travel from one universe to another using dimension portals. For every i ( 0 <= q i <= q D-1 ), we will place exactly one portal that allows us to fly from P_{A_i}^i to P_{B_i}^{i+1} , for some planet indices A_i and B_i (i.e. 1 <= q A_i, B_i <= q N ). Once all the portals are placed, Starship Batthy xc3 xa1ny will embark on its maiden voyage. It is currently orbiting around P_1^0 . Captain xc3 x81gnes and Lieutenant G xc3 xa1bor have decided to play the following game: they choose alternately a destination (a planet) to fly to. This planet can be in the same universe, if a space tunnel goes there, or it can be in another universe, if a portal goes there. Their aim is to visit places where no one has gone before. That's why, once they have visited a planet P_x^i , they never go back there (but they can visit the planet x in another universe). Captain xc3 x81gnes chooses the first destination (then G xc3 xa1bor, then xc3 x81gnes etc.). If somebody can't choose a planet where they have not been before in his/her turn, he/she loses. Captain xc3 x81gnes and Lieutenant G xc3 xa1bor are both very clever: they know the locations of all tunnels and portals, and they both play optimally. For how many different placements of portals does Captain xc3 x81gnes win the game? Two placements are different if there is an index"...

Tutorials

Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
91058698 142857 C Aug. 26, 2020, 1:51 p.m. OK GNU C++11 TESTS 40 61 10854400
91696597 cjy2003 C Sept. 3, 2020, 7:33 a.m. OK GNU C++11 TESTS 40 61 15155200
91204909 xryjr233 C Aug. 28, 2020, 11:56 a.m. OK GNU C++11 TESTS 40 62 11980800
91064484 Pigbrain C Aug. 26, 2020, 2:47 p.m. OK GNU C++11 TESTS 40 77 9216000
91065973 dqa2020 C Aug. 26, 2020, 3:01 p.m. OK GNU C++11 TESTS 40 78 19968000
91653997 georgerapeanu C Sept. 2, 2020, 3:23 p.m. OK GNU C++11 TESTS 40 93 20377600
91058041 WZYYN C Aug. 26, 2020, 1:45 p.m. OK GNU C++11 TESTS 40 124 44441600
91571418 CaroLinda C Sept. 1, 2020, 1:56 p.m. OK GNU C++11 TESTS 40 140 21504000
91077024 atoiz C Aug. 26, 2020, 4:51 p.m. OK GNU C++11 TESTS 40 202 27340800
91076569 s_r_f C Aug. 26, 2020, 4:45 p.m. OK GNU C++11 TESTS 40 234 55808000
91173982 binsjl C Aug. 28, 2020, 1:56 a.m. OK GNU C++14 TESTS 40 93 10854400
91075578 sjimed C Aug. 26, 2020, 4:35 p.m. OK GNU C++14 TESTS 40 109 12185600
91123886 tmwilliamlin168 C Aug. 27, 2020, 10:23 a.m. OK GNU C++14 TESTS 40 109 15360000
91268803 SongC C Aug. 29, 2020, 8:31 a.m. OK GNU C++14 TESTS 40 124 12902400
91184405 zhouzhendong C Aug. 28, 2020, 6:29 a.m. OK GNU C++14 TESTS 40 124 16179200
91071621 KingPonyHead C Aug. 26, 2020, 3:56 p.m. OK GNU C++14 TESTS 40 124 16179200
91252450 ZZZZZZZZZZZZZZZZZZ C Aug. 29, 2020, 3:06 a.m. OK GNU C++14 TESTS 40 124 17408000
91070810 faremy C Aug. 26, 2020, 3:47 p.m. OK GNU C++14 TESTS 40 139 20992000
91065820 Weeeee C Aug. 26, 2020, 3 p.m. OK GNU C++14 TESTS 40 139 21094400
91707987 BlueDiamond C Sept. 3, 2020, 10:26 a.m. OK GNU C++14 TESTS 40 140 16998400
91071774 receed C Aug. 26, 2020, 3:58 p.m. OK GNU C++17 TESTS 40 108 18227200
91071038 egekabas C Aug. 26, 2020, 3:50 p.m. OK GNU C++17 TESTS 40 108 20480000
91077584 atodo C Aug. 26, 2020, 4:57 p.m. OK GNU C++17 TESTS 40 109 13209600
91170100 Medeowex C Aug. 27, 2020, 10:36 p.m. OK GNU C++17 TESTS 40 109 16179200
91178787 Disakuras C Aug. 28, 2020, 4:32 a.m. OK GNU C++17 TESTS 40 109 17817600
91138584 lumibons C Aug. 27, 2020, 1:55 p.m. OK GNU C++17 TESTS 40 109 18227200
91571048 birka0 C Sept. 1, 2020, 1:51 p.m. OK GNU C++17 TESTS 40 124 11161600
91065476 gs18115 C Aug. 26, 2020, 2:57 p.m. OK GNU C++17 TESTS 40 124 11878400
91640485 ivan.tudor C Sept. 2, 2020, 12:33 p.m. OK GNU C++17 TESTS 40 124 15769600
91077103 Shayan.P C Aug. 26, 2020, 4:51 p.m. OK GNU C++17 TESTS 40 124 15872000
91095977 skip2004 C Aug. 27, 2020, 12:46 a.m. OK GNU C++17 (64) TESTS 40 93 20889600
91076151 QAQAutoMaton C Aug. 26, 2020, 4:41 p.m. OK GNU C++17 (64) TESTS 40 93 31027200
91062578 lyx_cjz C Aug. 26, 2020, 2:28 p.m. OK GNU C++17 (64) TESTS 40 108 16076800
91097300 rama_pang C Aug. 27, 2020, 1:52 a.m. OK GNU C++17 (64) TESTS 40 109 14848000
91089107 keko37 C Aug. 26, 2020, 8:10 p.m. OK GNU C++17 (64) TESTS 40 109 24064000
91099867 daklqw C Aug. 27, 2020, 3:22 a.m. OK GNU C++17 (64) TESTS 40 109 62054400
91089089 keko37 C Aug. 26, 2020, 8:10 p.m. OK GNU C++17 (64) TESTS 40 124 24064000
91064079 jiangly C Aug. 26, 2020, 2:43 p.m. OK GNU C++17 (64) TESTS 40 124 27340800
91110754 ustze C Aug. 27, 2020, 7:05 a.m. OK GNU C++17 (64) TESTS 40 124 28057600
91251972 dysyn1314 C Aug. 29, 2020, 2:48 a.m. OK GNU C++17 (64) TESTS 40 124 28979200
91120542 sansen C Aug. 27, 2020, 9:33 a.m. OK Rust TESTS 40 77 12390400

remove filters

Back to search problems