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 |
---|---|---|---|---|---|---|
1403 | Central-European Olympiad in Informatics, CEOI 2020, Day 2 (IOI, Unofficial Mirror Contest, Unrated) | FINISHED | False | 18600 | 138563663 | Aug. 28, 2020, 12:05 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 294 ) | A | The Potion of Great Power | PROGRAMMING | *special binary search data structures graphs interactive sortings two pointers |
B"Once upon a time, in the Land of the Shamans, everyone lived on the Sky-High Beanstalk. Each shaman had a unique identifying number i between 0 and N-1 , and an altitude value H_i , representing how high he lived above ground level. The distance between two altitudes is the absolute value of their difference. All shamans lived together in peace, until one of them stole the formula of the world-famous Potion of Great Power. To cover his/her tracks, the Thief has put a Curse on the land: most inhabitants could no longer trust each other... Despite the very difficult circumstances, the Order of Good Investigators have gained the following information about the Curse: They believe the Thief has whispered the formula to an Evil Shaman. To avoid detection, both of them visited the home of one of their (respective) trusted friends. During the visit, the Thief whispered the formula to the Evil Shaman through the window. (Note: this trusted friend did not have to be home at the time. In fact, it's even possible that they visited each other's houses xe2 x80 x93 shamans are weird.) Fortunately, whispers only travel short distances, so the Order knows the two trusted friends visited (by the Thief and the Evil Shaman) must live very close to each other. They ask you to help with their investigation. They would like to test their suspicions: what if the Thief was x , the Evil Shaman was y , and the formula was whispered on day v ? What is the smallest distance the whispered formula had to travel? That is, what is the minimum distance between the apartments of some shamans x' and y' (i.e. min <= ft( <= ft|H_{x'} - H_{y'} right| right) ), such that x' was a trusted friend of x and y' was a trusted friend of y on day v ? They will share all their information with you, then ask you a number of questions. You need to answer each question immediately, before receiving the next one. The interaction"... |
CEOI 2020 Online Mirror — Day 2 Tutorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
91208496 | WZYYN | A | Aug. 28, 2020, 12:48 p.m. | OK | GNU C++11 | TESTS | 32 | 888 | 48435200 | ||
91214016 | duality | A | Aug. 28, 2020, 1:54 p.m. | OK | GNU C++11 | TESTS | 32 | 1122 | 49561600 | ||
91262828 | kdh | A | Aug. 29, 2020, 6:58 a.m. | OK | GNU C++11 | TESTS | 32 | 1216 | 28467200 | ||
91516902 | Gajowy | A | Aug. 31, 2020, 6:21 p.m. | OK | GNU C++11 | TESTS | 32 | 1403 | 31846400 | ||
91271623 | tzaph_ | A | Aug. 29, 2020, 9:16 a.m. | OK | GNU C++11 | TESTS | 32 | 1482 | 55603200 | ||
91474104 | dqa2020 | A | Aug. 31, 2020, 8:45 a.m. | OK | GNU C++11 | TESTS | 32 | 1825 | 174387200 | ||
91454820 | dqa2020 | A | Aug. 31, 2020, 4:28 a.m. | OK | GNU C++11 | TESTS | 32 | 1949 | 262553600 | ||
91216502 | Misaka-Mikoto- | A | Aug. 28, 2020, 2:20 p.m. | OK | GNU C++11 | TESTS | 32 | 1996 | 81612800 | ||
91217212 | 142857 | A | Aug. 28, 2020, 2:29 p.m. | OK | GNU C++11 | TESTS | 32 | 2012 | 172441600 | ||
91643042 | 2020skyfall | A | Sept. 2, 2020, 1:09 p.m. | OK | GNU C++11 | TESTS | 32 | 2089 | 19558400 | ||
91550535 | tmwilliamlin168 | A | Sept. 1, 2020, 8:56 a.m. | OK | GNU C++14 | TESTS | 32 | 1590 | 96768000 | ||
91671242 | tmwilliamlin168 | A | Sept. 2, 2020, 7:40 p.m. | OK | GNU C++14 | TESTS | 32 | 1591 | 106188800 | ||
91267730 | uacoder123 | A | Aug. 29, 2020, 8:16 a.m. | OK | GNU C++14 | TESTS | 32 | 1700 | 198860800 | ||
91345093 | Peti | A | Aug. 30, 2020, 1:18 p.m. | OK | GNU C++14 | TESTS | 32 | 2089 | 84377600 | ||
91345030 | Peti | A | Aug. 30, 2020, 1:17 p.m. | OK | GNU C++14 | TESTS | 32 | 2121 | 71168000 | ||
91598455 | Zoli9 | A | Sept. 1, 2020, 8:31 p.m. | OK | GNU C++14 | TESTS | 32 | 2214 | 13414400 | ||
91598462 | Zoli9 | A | Sept. 1, 2020, 8:31 p.m. | OK | GNU C++14 | TESTS | 32 | 2261 | 11878400 | ||
91229111 | arman_ferdous | A | Aug. 28, 2020, 4:42 p.m. | OK | GNU C++14 | TESTS | 32 | 2386 | 30412800 | ||
91228570 | JustasZ | A | Aug. 28, 2020, 4:35 p.m. | OK | GNU C++14 | TESTS | 32 | 2433 | 45363200 | ||
91529687 | nandonathaniel | A | Sept. 1, 2020, 1:13 a.m. | OK | GNU C++14 | TESTS | 32 | 2589 | 23142400 | ||
91224703 | Atreus | A | Aug. 28, 2020, 3:51 p.m. | OK | GNU C++17 | TESTS | 32 | 1262 | 98713600 | ||
91225628 | Sorting | A | Aug. 28, 2020, 4:02 p.m. | OK | GNU C++17 | TESTS | 32 | 1278 | 137728000 | ||
91270797 | vinhntndu | A | Aug. 29, 2020, 9:03 a.m. | OK | GNU C++17 | TESTS | 32 | 1512 | 65536000 | ||
91214104 | Arturgo | A | Aug. 28, 2020, 1:55 p.m. | OK | GNU C++17 | TESTS | 32 | 1543 | 28160000 | ||
91212383 | faresbasbas | A | Aug. 28, 2020, 1:36 p.m. | OK | GNU C++17 | TESTS | 32 | 1543 | 196915200 | ||
91239072 | Shayan.P | A | Aug. 28, 2020, 7:08 p.m. | OK | GNU C++17 | TESTS | 32 | 1590 | 24985600 | ||
91239509 | Kripton2005 | A | Aug. 28, 2020, 7:16 p.m. | OK | GNU C++17 | TESTS | 32 | 1653 | 11980800 | ||
91209273 | Lemur95 | A | Aug. 28, 2020, 12:58 p.m. | OK | GNU C++17 | TESTS | 32 | 1793 | 18841600 | ||
91223525 | kshitij_sodani | A | Aug. 28, 2020, 3:39 p.m. | OK | GNU C++17 | TESTS | 32 | 1809 | 60211200 | ||
91339224 | fredrik.w.ekholm | A | Aug. 30, 2020, 11:48 a.m. | OK | GNU C++17 | TESTS | 32 | 1856 | 58880000 | ||
91209508 | Maksim1744 | A | Aug. 28, 2020, 1:02 p.m. | OK | GNU C++17 (64) | TESTS | 32 | 1185 | 98713600 | ||
91210850 | errorgorn | A | Aug. 28, 2020, 1:18 p.m. | OK | GNU C++17 (64) | TESTS | 32 | 1325 | 153190400 | ||
91314306 | MrDecomposition | A | Aug. 29, 2020, 10:10 p.m. | OK | GNU C++17 (64) | TESTS | 32 | 1372 | 221798400 | ||
91243923 | Benq | A | Aug. 28, 2020, 8:54 p.m. | OK | GNU C++17 (64) | TESTS | 32 | 1387 | 101376000 | ||
91211553 | natsugiri | A | Aug. 28, 2020, 1:27 p.m. | OK | GNU C++17 (64) | TESTS | 32 | 1434 | 63692800 | ||
91314299 | MrDecomposition | A | Aug. 29, 2020, 10:10 p.m. | OK | GNU C++17 (64) | TESTS | 32 | 1435 | 221900800 | ||
91248209 | MrDecomposition | A | Aug. 28, 2020, 11:46 p.m. | OK | GNU C++17 (64) | TESTS | 32 | 1466 | 221900800 | ||
91314361 | MrDecomposition | A | Aug. 29, 2020, 10:12 p.m. | OK | GNU C++17 (64) | TESTS | 32 | 1481 | 221900800 | ||
91314428 | MrDecomposition | A | Aug. 29, 2020, 10:16 p.m. | OK | GNU C++17 (64) | TESTS | 32 | 1637 | 221900800 | ||
91299955 | ko_osaga | A | Aug. 29, 2020, 4:43 p.m. | OK | GNU C++17 (64) | TESTS | 32 | 1855 | 48230400 | ||
91691708 | hruif | A | Sept. 3, 2020, 6:13 a.m. | OK | MS C++ 2017 | TESTS | 32 | 1856 | 37785600 | ||
91663619 | samcpp | A | Sept. 2, 2020, 5:31 p.m. | OK | MS C++ 2017 | TESTS | 32 | 1949 | 44134400 |
Back to search problems