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 |
|---|---|---|---|---|---|---|
| 1773 | 2022-2023 ICPC, NERC, Northern Eurasia Onsite (Unrated, Online Mirror, ICPC Rules, Teams Preferred) | FINISHED | False | 18000 | 106005323 | Dec. 7, 2022, 8:05 a.m. |
Solved |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
|---|---|---|---|---|---|---|
| ( 969 ) | B | BinCoin | PROGRAMMING | divide and conquer hashing implementation probabilities trees | 2200 |
There are (n) employees in the BinCoin company numbered from (1) to (n). The subordination structure in this company is a rooted tree. In other words: There is one CEO in the company — the main boss. Each other employee has exactly one direct superior. There are no cycles in the subordination structure. Moreover, due to the inexplicable love of the CEO of BinCoin for all the binary stuff, the subordination structure in the company is a binary rooted tree. That means each employee is directly superior to exactly zero or two other employees. In the CEO's opinion, working in this company is almost as dangerous as in mines. So, employees should sign the waiver of claims sometimes. This process happens in the following way. Initially, CEO takes the journal, then recursively the following procedure is performed: If an employee that holds the journal does not have any subordinates, they sign the waiver in the journal and give it back to their superior. The procedure stops if that was the CEO, who has no superior. Otherwise they choose one of two of their direct subordinates uniformly at random and give the journal to one of them; when they get the journal back, they sign it; and then they give it to another direct subordinate; when they get it back again, they give it back to their superior. The procedure stops if that was the CEO, who has no superior. they choose one of two of their direct subordinates uniformly at random and give the journal to one of them; when they get the journal back, they sign it; and then they give it to another direct subordinate; when they get it back again, they give it back to their superior. The procedure stops if that was the CEO, who has no superior. All random choices are independent. One day, the CEO realized that they could not remember the subordination tree. Fortunately, they have the journal with (k) records. Each record is a sequence of employees in the order they've signed in a journal. Help CEO restore the |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 184215695 | xin_chen xzx34 yijan | B | Dec. 7, 2022, 11:25 a.m. | OK | GNU C++14 | TESTS | 16 | 15 | 39936000 | 2200 | |
| 184197122 | hualian luogubot monstersqwq | B | Dec. 7, 2022, 10:39 a.m. | OK | GNU C++14 | TESTS | 16 | 30 | 1126400 | 2200 | |
| 184200749 | platelet grass8cow | B | Dec. 7, 2022, 10:53 a.m. | OK | GNU C++14 | TESTS | 16 | 31 | 1126400 | 2200 | |
| 184182452 | chiangjuichang | B | Dec. 7, 2022, 9:08 a.m. | OK | GNU C++14 | TESTS | 16 | 31 | 1228800 | 2200 | |
| 184200924 | cpy0512 Gemini7X | B | Dec. 7, 2022, 10:55 a.m. | OK | GNU C++14 | TESTS | 16 | 31 | 1945600 | 2200 | |
| 184216384 | AC-Automation rui_er | B | Dec. 7, 2022, 11:31 a.m. | OK | GNU C++14 | TESTS | 16 | 31 | 3686400 | 2200 | |
| 184278154 | deVICe7772 | B | Dec. 8, 2022, 12:36 a.m. | OK | GNU C++14 | TESTS | 16 | 31 | 5324800 | 2200 | |
| 184224744 | lzqy__ | B | Dec. 7, 2022, 12:50 p.m. | OK | GNU C++14 | TESTS | 16 | 31 | 5427200 | 2200 | |
| 184217196 | Jimanbanashi | B | Dec. 7, 2022, 11:39 a.m. | OK | GNU C++14 | TESTS | 16 | 31 | 15564800 | 2200 | |
| 184215774 | Pajaraja MladenP milisav | B | Dec. 7, 2022, 11:25 a.m. | OK | GNU C++14 | TESTS | 16 | 46 | 512000 | 2200 | |
| 184224472 | a757403 | B | Dec. 7, 2022, 12:47 p.m. | OK | GNU C++17 | TESTS | 16 | 31 | 512000 | 2200 | |
| 184196791 | blin00 | B | Dec. 7, 2022, 10:36 a.m. | OK | GNU C++17 | TESTS | 16 | 31 | 614400 | 2200 | |
| 184218378 | NiroBC JosephNZ HetaoBest | B | Dec. 7, 2022, 11:50 a.m. | OK | GNU C++17 | TESTS | 16 | 31 | 2150400 | 2200 | |
| 184187287 | Little_Sheep_Yawn Sempr Aging1986 | B | Dec. 7, 2022, 9:56 a.m. | OK | GNU C++17 | TESTS | 16 | 31 | 4710400 | 2200 | |
| 184201192 | Ufowoqqqo gujialiang123 shuixirui | B | Dec. 7, 2022, 10:58 a.m. | OK | GNU C++17 | TESTS | 16 | 46 | 614400 | 2200 | |
| 184290066 | upobir irri SA01 | B | Dec. 8, 2022, 5:40 a.m. | OK | GNU C++17 | TESTS | 16 | 46 | 716800 | 2200 | |
| 184193583 | QCFium E869120 square1001 | B | Dec. 7, 2022, 10:24 a.m. | OK | GNU C++17 | TESTS | 16 | 46 | 1024000 | 2200 | |
| 184221989 | liumuxin fhqTreap lambert0704 | B | Dec. 7, 2022, 12:25 p.m. | OK | GNU C++17 | TESTS | 16 | 46 | 1638400 | 2200 | |
| 184185083 | .Mahdi. NullXD ArchUser84 | B | Dec. 7, 2022, 9:34 a.m. | OK | GNU C++17 | TESTS | 16 | 46 | 4608000 | 2200 | |
| 184217076 | Riladavin vepifanov I_Remember_Olya_ashmelev | B | Dec. 7, 2022, 11:38 a.m. | OK | GNU C++17 | TESTS | 16 | 46 | 9113600 | 2200 | |
| 184222631 | HuyKoCoNy wonderful_trip cuberlongVN | B | Dec. 7, 2022, 12:31 p.m. | OK | GNU C++17 (64) | TESTS | 16 | 30 | 8704000 | 2200 | |
| 184217203 | orzdevinwang | B | Dec. 7, 2022, 11:39 a.m. | OK | GNU C++17 (64) | TESTS | 16 | 30 | 64716800 | 2200 | |
| 184182426 | TLEwpdus ainta | B | Dec. 7, 2022, 9:08 a.m. | OK | GNU C++17 (64) | TESTS | 16 | 31 | 2048000 | 2200 | |
| 184214969 | Cxny zhangshaojia wsyear | B | Dec. 7, 2022, 11:18 a.m. | OK | GNU C++17 (64) | TESTS | 16 | 31 | 3276800 | 2200 | |
| 184216618 | BeyondHeaven | B | Dec. 7, 2022, 11:33 a.m. | OK | GNU C++17 (64) | TESTS | 16 | 31 | 8908800 | 2200 | |
| 184214393 | Bolshevik | B | Dec. 7, 2022, 11:15 a.m. | OK | GNU C++17 (64) | TESTS | 16 | 31 | 24576000 | 2200 | |
| 184196355 | hojoon0205 Bang.K coxie | B | Dec. 7, 2022, 10:32 a.m. | OK | GNU C++17 (64) | TESTS | 16 | 46 | 307200 | 2200 | |
| 184190007 | MAOooOAM foreverlasting | B | Dec. 7, 2022, 10:06 a.m. | OK | GNU C++17 (64) | TESTS | 16 | 46 | 716800 | 2200 | |
| 184193343 | kimoyami YaoBIG | B | Dec. 7, 2022, 10:21 a.m. | OK | GNU C++17 (64) | TESTS | 16 | 46 | 1228800 | 2200 | |
| 184216775 | TsukasaYuzaki yuanhaowei | B | Dec. 7, 2022, 11:35 a.m. | OK | GNU C++17 (64) | TESTS | 16 | 46 | 13312000 | 2200 | |
| 184200926 | 353cerega Batrr mhq | B | Dec. 7, 2022, 10:55 a.m. | OK | GNU C++20 (64) | TESTS | 16 | 15 | 716800 | 2200 | |
| 184189776 | abcvuitunggio LeXuanSon nbdef | B | Dec. 7, 2022, 10:04 a.m. | OK | GNU C++20 (64) | TESTS | 16 | 15 | 819200 | 2200 | |
| 184264871 | Adam_GS | B | Dec. 7, 2022, 7:54 p.m. | OK | GNU C++20 (64) | TESTS | 16 | 15 | 921600 | 2200 | |
| 184186082 | KbltQaQ sjc061031 ShmilyTY | B | Dec. 7, 2022, 9:44 a.m. | OK | GNU C++20 (64) | TESTS | 16 | 15 | 921600 | 2200 | |
| 184209125 | amano_hina Fysty | B | Dec. 7, 2022, 11:08 a.m. | OK | GNU C++20 (64) | TESTS | 16 | 15 | 1740800 | 2200 | |
| 184196154 | xby070112 KING_OF_TURTLE | B | Dec. 7, 2022, 10:30 a.m. | OK | GNU C++20 (64) | TESTS | 16 | 15 | 1740800 | 2200 | |
| 184192892 | realskc User_Carrot N_z__ | B | Dec. 7, 2022, 10:17 a.m. | OK | GNU C++20 (64) | TESTS | 16 | 15 | 1843200 | 2200 | |
| 184222209 | LucaSeri EmanuelDicu robxln | B | Dec. 7, 2022, 12:27 p.m. | OK | GNU C++20 (64) | TESTS | 16 | 15 | 2355200 | 2200 | |
| 184180310 | masdav vanwij | B | Dec. 7, 2022, 8:48 a.m. | OK | GNU C++20 (64) | TESTS | 16 | 15 | 2662400 | 2200 | |
| 184183981 | snuke hos.lyric maroonrk | B | Dec. 7, 2022, 9:23 a.m. | OK | GNU C++20 (64) | TESTS | 16 | 30 | 1126400 | 2200 | |
| 184219515 | knightL | B | Dec. 7, 2022, 12:01 p.m. | OK | Java 11 | TESTS | 16 | 202 | 512000 | 2200 | |
| 184287644 | dzhi | B | Dec. 8, 2022, 5:04 a.m. | OK | Java 11 | TESTS | 16 | 842 | 51507200 | 2200 | |
| 184282247 | kamranm | B | Dec. 8, 2022, 2:38 a.m. | OK | Java 11 | TESTS | 16 | 857 | 614400 | 2200 | |
| 184220077 | arvindf232 | B | Dec. 7, 2022, 12:06 p.m. | OK | Kotlin 1.6 | TESTS | 16 | 1902 | 2048000 | 2200 | |
| 184220813 | huangxw | B | Dec. 7, 2022, 12:14 p.m. | OK | PyPy 3-64 | TESTS | 16 | 187 | 10240000 | 2200 | |
| 184214603 | B | Dec. 7, 2022, 11:15 a.m. | OK | Unknown | TESTS | 0 | 0 | 0 | 2200 | ||
| 184214504 | B | Dec. 7, 2022, 11:15 a.m. | OK | Unknown | TESTS | 0 | 0 | 0 | 2200 | ||
| 184214464 | B | Dec. 7, 2022, 11:15 a.m. | OK | Unknown | TESTS | 0 | 0 | 0 | 2200 | ||
| 184214379 | B | Dec. 7, 2022, 11:15 a.m. | OK | Unknown | TESTS | 0 | 0 | 0 | 2200 | ||
| 184214378 | B | Dec. 7, 2022, 11:15 a.m. | OK | Unknown | TESTS | 0 | 0 | 0 | 2200 | ||
| 184214352 | B | Dec. 7, 2022, 11:15 a.m. | OK | Unknown | TESTS | 0 | 0 | 0 | 2200 | ||
| 184214320 | B | Dec. 7, 2022, 11:15 a.m. | OK | Unknown | TESTS | 0 | 0 | 0 | 2200 | ||
| 184214173 | B | Dec. 7, 2022, 11:15 a.m. | OK | Unknown | TESTS | 0 | 0 | 0 | 2200 | ||
| 184214112 | B | Dec. 7, 2022, 11:15 a.m. | OK | Unknown | TESTS | 0 | 0 | 0 | 2200 | ||
| 184214100 | B | Dec. 7, 2022, 11:15 a.m. | OK | Unknown | TESTS | 0 | 0 | 0 | 2200 |
Back to search problems