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 |
---|---|---|---|---|---|---|
1534 | Codeforces LATOKEN Round 1 (Div. 1 + Div. 2) | FINISHED | False | 10800 | 108224699 | June 13, 2021, 3:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 6084 ) | D | Lost Tree | PROGRAMMING | constructive algorithms interactive trees |
B'This is an interactive problem. Little Dormi was faced with an awkward problem at the carnival: he has to guess the edges of an unweighted tree of n nodes! The nodes of the tree are numbered from 1 to n . The game master only allows him to ask one type of question: Additionally, to make the game unfair challenge Little Dormi the game master will allow at most lceil frac{n}{2} rceil questions, where lceil x rceil denotes the smallest integer greater than or equal to x . Faced with the stomach-churning possibility of not being able to guess the tree, Little Dormi needs your help to devise a winning strategy! Note that the game master creates the tree before the game starts, and does not change it during the game. The first line of input contains the integer n ( 2 <= n <= 2 ,000 ), the number of nodes in the tree. You will then begin interaction. When your program has found the tree, first output a line consisting of a single "!" followed by n-1 lines each with two space separated integers a and b , denoting an edge connecting nodes a and b ( 1 <= a, b <= n ). Once you are done, terminate your program normally immediately after flushing the output stream. You may output the edges in any order and an edge (a,b) is considered the same as an edge (b,a) . Answering is not considered as a query. After taking input, you may make at most lceil frac{n}{2} rceil queries. Each query is made in the format "? r", where r is an integer 1 <= r <= n that denotes the node you want to pick for that query. You will then receive n space separated integers d_1, d_2, ldots, d_n , where d_i is the length of the shortest path from node r to i , followed by a newline. After printing a query do not forget to output end of line and flush the output. Otherwise, you will get Idleness limit exceeded. To do this, use: If at any point you make an '... |
Codeforces LATOKEN Round 1 (Div. 1 + Div. 2) Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
119413291 | cutx64 | D | June 14, 2021, 3:18 a.m. | OK | D | TESTS | 130 | 327 | 6144000 | ||
119414272 | Aestas16 | D | June 14, 2021, 3:38 a.m. | OK | GNU C++11 | TESTS | 130 | 93 | 102400 | ||
119409955 | pzc2004 | D | June 14, 2021, 1:52 a.m. | OK | GNU C++11 | TESTS | 130 | 93 | 102400 | ||
119413607 | sdfz171047 | D | June 14, 2021, 3:25 a.m. | OK | GNU C++11 | TESTS | 130 | 93 | 3891200 | ||
119420452 | mao_zx | D | June 14, 2021, 5:31 a.m. | OK | GNU C++11 | TESTS | 130 | 108 | 204800 | ||
119388578 | Huan_YP2002 | D | June 13, 2021, 6:03 p.m. | OK | GNU C++11 | TESTS | 130 | 108 | 204800 | ||
119387942 | Fman2018 | D | June 13, 2021, 6 p.m. | OK | GNU C++11 | TESTS | 130 | 109 | 16179200 | ||
119387483 | mao_zx | D | June 13, 2021, 5:58 p.m. | OK | GNU C++11 | TESTS | 130 | 109 | 16281600 | ||
119416737 | xwp | D | June 14, 2021, 4:27 a.m. | OK | GNU C++11 | TESTS | 130 | 124 | 30105600 | ||
119406815 | zhuzhirui2005 | D | June 13, 2021, 11:11 p.m. | OK | GNU C++11 | TESTS | 130 | 187 | 204800 | ||
119406813 | Aokana | D | June 13, 2021, 11:11 p.m. | OK | GNU C++11 | TESTS | 130 | 187 | 204800 | ||
119385892 | dipanshugarg | D | June 13, 2021, 5:51 p.m. | OK | GNU C++14 | TESTS | 130 | 234 | 512000 | ||
119413508 | eexyz | D | June 14, 2021, 3:23 a.m. | OK | GNU C++14 | TESTS | 130 | 265 | 36044800 | ||
119396092 | smasHR | D | June 13, 2021, 6:31 p.m. | OK | GNU C++14 | TESTS | 130 | 280 | 307200 | ||
119402443 | rupinderg00 | D | June 13, 2021, 8:26 p.m. | OK | GNU C++14 | TESTS | 130 | 311 | 204800 | ||
119421726 | taylor_abbas | D | June 14, 2021, 5:49 a.m. | OK | GNU C++14 | TESTS | 130 | 312 | 307200 | ||
119395117 | saurabh1 | D | June 13, 2021, 6:28 p.m. | OK | GNU C++14 | TESTS | 130 | 326 | 307200 | ||
119387353 | procodgok | D | June 13, 2021, 5:57 p.m. | OK | GNU C++14 | TESTS | 130 | 326 | 16384000 | ||
119414185 | shobhit2002 | D | June 14, 2021, 3:36 a.m. | OK | GNU C++14 | TESTS | 130 | 327 | 204800 | ||
119412700 | burtmacklin | D | June 14, 2021, 3:05 a.m. | OK | GNU C++14 | TESTS | 130 | 327 | 204800 | ||
119416312 | Hey1234_1234 | D | June 14, 2021, 4:19 a.m. | OK | GNU C++14 | TESTS | 130 | 327 | 307200 | ||
119409734 | OrlKorrekt | D | June 14, 2021, 1:45 a.m. | OK | GNU C++17 | TESTS | 130 | 171 | 39219200 | ||
119389622 | landwarship | D | June 13, 2021, 6:07 p.m. | OK | GNU C++17 | TESTS | 130 | 171 | 39219200 | ||
119388076 | jt.cheng26 | D | June 13, 2021, 6 p.m. | OK | GNU C++17 | TESTS | 130 | 187 | 16486400 | ||
119393535 | utchchhwas | D | June 13, 2021, 6:23 p.m. | OK | GNU C++17 | TESTS | 130 | 265 | 409600 | ||
119386193 | Lain | D | June 13, 2021, 5:52 p.m. | OK | GNU C++17 | TESTS | 130 | 280 | 614400 | ||
119390939 | MickyOr | D | June 13, 2021, 6:12 p.m. | OK | GNU C++17 | TESTS | 130 | 280 | 9318400 | ||
119389682 | knightmare_guran | D | June 13, 2021, 6:07 p.m. | OK | GNU C++17 | TESTS | 130 | 280 | 17203200 | ||
119409586 | mj729 | D | June 14, 2021, 1:40 a.m. | OK | GNU C++17 | TESTS | 130 | 296 | 48537600 | ||
119410358 | lewinlight1202 | D | June 14, 2021, 2:04 a.m. | OK | GNU C++17 | TESTS | 130 | 311 | 204800 | ||
119421559 | Jourtics___ | D | June 14, 2021, 5:47 a.m. | OK | GNU C++17 | TESTS | 130 | 311 | 307200 | ||
119389013 | baokhue232005 | D | June 13, 2021, 6:05 p.m. | OK | GNU C++17 (64) | TESTS | 130 | 171 | 6144000 | ||
119393253 | KokiYmgch | D | June 13, 2021, 6:22 p.m. | OK | GNU C++17 (64) | TESTS | 130 | 187 | 1740800 | ||
119403690 | Anish_aak | D | June 13, 2021, 9:01 p.m. | OK | GNU C++17 (64) | TESTS | 130 | 233 | 102400 | ||
119396605 | shjohw12 | D | June 13, 2021, 6:32 p.m. | OK | GNU C++17 (64) | TESTS | 130 | 234 | 32972800 | ||
119401029 | llllllll | D | June 13, 2021, 8:03 p.m. | OK | GNU C++17 (64) | TESTS | 130 | 264 | 8704000 | ||
119405427 | Zura_ja_nai | D | June 13, 2021, 10 p.m. | OK | GNU C++17 (64) | TESTS | 130 | 265 | 204800 | ||
119406205 | LordHokage | D | June 13, 2021, 10:37 p.m. | OK | GNU C++17 (64) | TESTS | 130 | 265 | 307200 | ||
119389456 | Harirai | D | June 13, 2021, 6:06 p.m. | OK | GNU C++17 (64) | TESTS | 130 | 265 | 1228800 | ||
119422043 | nipungupta37 | D | June 14, 2021, 5:53 a.m. | OK | GNU C++17 (64) | TESTS | 130 | 280 | 102400 | ||
119412595 | Isaunoya | D | June 14, 2021, 3:03 a.m. | OK | GNU C++17 (64) | TESTS | 130 | 280 | 102400 | ||
119414700 | Tharun0102 | D | June 14, 2021, 3:48 a.m. | OK | Java 11 | TESTS | 130 | 576 | 0 | ||
119413716 | SrapZark | D | June 14, 2021, 3:27 a.m. | OK | Java 11 | TESTS | 130 | 577 | 0 | ||
119421876 | saurabh_kl | D | June 14, 2021, 5:51 a.m. | OK | Java 11 | TESTS | 130 | 608 | 0 | ||
119404805 | lucasr | D | June 13, 2021, 9:36 p.m. | OK | Java 11 | TESTS | 130 | 654 | 0 | ||
119392049 | n20gupta | D | June 13, 2021, 6:17 p.m. | OK | Java 11 | TESTS | 130 | 654 | 0 | ||
119422098 | ayush__1411 | D | June 14, 2021, 5:54 a.m. | OK | Java 11 | TESTS | 130 | 670 | 18329600 | ||
119387142 | bobib | D | June 13, 2021, 5:56 p.m. | OK | Java 11 | TESTS | 130 | 701 | 19558400 | ||
119408581 | mac989898 | D | June 14, 2021, 12:59 a.m. | OK | Java 11 | TESTS | 130 | 717 | 0 | ||
119421180 | Multi-Thread | D | June 14, 2021, 5:42 a.m. | OK | Java 11 | TESTS | 130 | 795 | 204800 | ||
119420179 | shahneel226 | D | June 14, 2021, 5:27 a.m. | OK | Java 11 | TESTS | 130 | 826 | 0 | ||
119390787 | Pranay_ | D | June 13, 2021, 6:12 p.m. | OK | Java 8 | TESTS | 130 | 312 | 0 | ||
119403471 | qlf9 | D | June 13, 2021, 8:56 p.m. | OK | Java 8 | TESTS | 130 | 483 | 0 | ||
119399783 | gagan_6730 | D | June 13, 2021, 7:51 p.m. | OK | Java 8 | TESTS | 130 | 483 | 0 | ||
119387672 | medude | D | June 13, 2021, 5:58 p.m. | OK | Java 8 | TESTS | 130 | 498 | 17305600 | ||
119412449 | FlameFire | D | June 14, 2021, 3 a.m. | OK | Java 8 | TESTS | 130 | 514 | 0 | ||
119402247 | This_is_the_one | D | June 13, 2021, 8:23 p.m. | OK | Java 8 | TESTS | 130 | 514 | 0 | ||
119412070 | FlameFire | D | June 14, 2021, 2:52 a.m. | OK | Java 8 | TESTS | 130 | 529 | 0 | ||
119386075 | kkkkush | D | June 13, 2021, 5:52 p.m. | OK | Java 8 | TESTS | 130 | 529 | 0 | ||
119389311 | guru1603 | D | June 13, 2021, 6:06 p.m. | OK | Java 8 | TESTS | 130 | 530 | 0 | ||
119409585 | DepressoEspresso | D | June 14, 2021, 1:40 a.m. | OK | Java 8 | TESTS | 130 | 560 | 0 | ||
119408755 | Spheniscine | D | June 14, 2021, 1:07 a.m. | OK | Kotlin | TESTS | 130 | 451 | 0 | ||
119408952 | Spheniscine | D | June 14, 2021, 1:17 a.m. | OK | Kotlin | TESTS | 130 | 452 | 0 | ||
119415370 | pseuda | D | June 14, 2021, 4:01 a.m. | OK | Kotlin | TESTS | 130 | 732 | 204800 | ||
119401413 | DMN | D | June 13, 2021, 8:09 p.m. | OK | Mono C# | TESTS | 130 | 514 | 9011200 | ||
119404758 | Alexey | D | June 13, 2021, 9:34 p.m. | OK | Node.js | TESTS | 130 | 607 | 5632000 | ||
119404634 | Alexey | D | June 13, 2021, 9:29 p.m. | OK | Node.js | TESTS | 130 | 607 | 5836800 | ||
119404595 | Alexey | D | June 13, 2021, 9:28 p.m. | OK | Node.js | TESTS | 130 | 655 | 5632000 | ||
119399978 | uttharapally.chandra | D | June 13, 2021, 7:53 p.m. | OK | PyPy 3 | TESTS | 130 | 592 | 22425600 | ||
119386183 | not_tehlka | D | June 13, 2021, 5:52 p.m. | OK | PyPy 3 | TESTS | 130 | 654 | 22118400 | ||
119395692 | EpicChadGamer | D | June 13, 2021, 6:30 p.m. | OK | PyPy 3 | TESTS | 130 | 763 | 10956800 | ||
119391223 | manish.17 | D | June 13, 2021, 6:13 p.m. | OK | PyPy 3 | TESTS | 130 | 951 | 28979200 | ||
119405225 | Het_Fadia | D | June 13, 2021, 9:51 p.m. | OK | PyPy 3 | TESTS | 130 | 998 | 16588800 | ||
119400863 | Bob661161616 | D | June 13, 2021, 8:01 p.m. | OK | PyPy 3 | TESTS | 130 | 1014 | 10547200 | ||
119400757 | jaglike_makkar | D | June 13, 2021, 8 p.m. | OK | PyPy 3 | TESTS | 130 | 1044 | 10342400 | ||
119396783 | Jirens_dad | D | June 13, 2021, 6:33 p.m. | OK | PyPy 3 | TESTS | 130 | 1045 | 10547200 | ||
119404984 | tqa236 | D | June 13, 2021, 9:42 p.m. | OK | PyPy 3 | TESTS | 130 | 1045 | 10752000 | ||
119416101 | WhatsDerivative | D | June 14, 2021, 4:15 a.m. | OK | PyPy 3 | TESTS | 130 | 1060 | 10342400 | ||
119412887 | puffc0rn | D | June 14, 2021, 3:09 a.m. | OK | Python 3 | TESTS | 130 | 795 | 2560000 | ||
119392826 | ishsonya | D | June 13, 2021, 6:20 p.m. | OK | Python 3 | TESTS | 130 | 888 | 3379200 | ||
119405586 | Het_Fadia | D | June 13, 2021, 10:06 p.m. | OK | Python 3 | TESTS | 130 | 967 | 4608000 | ||
119419745 | andr14142 | D | June 14, 2021, 5:20 a.m. | OK | Python 3 | TESTS | 130 | 1138 | 2764800 | ||
119417861 | cottoncotton | D | June 14, 2021, 4:47 a.m. | OK | Rust | TESTS | 130 | 139 | 307200 |
Back to search problems