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 |
---|---|---|---|---|---|---|
1546 | Codeforces Round 732 (Div. 2) | FINISHED | False | 9000 | 111167663 | July 11, 2021, 2:05 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 13263 ) | B | AquaMoon and Stolen String | PROGRAMMING | interactive | 1200 |
B'AquaMoon had n strings of length m each. n is an odd number. When AquaMoon was gone, Cirno tried to pair these n strings together. After making frac{n-1}{2} pairs, she found out that there was exactly one string without the pair! In her rage, she disrupted each pair of strings. For each pair, she selected some positions (at least 1 and at most m ) and swapped the letters in the two strings of this pair at the selected positions. For example, if m = 6 and two strings "abcdef" and "xyzklm" are in one pair and Cirno selected positions 2 , 3 and 6 she will swap 'b ' with 'y ', 'c ' with 'z ' and 'f ' with 'm '. The resulting strings will be "ayzdem" and "xbcklf". Cirno then stole away the string without pair and shuffled all remaining strings in arbitrary order. AquaMoon found the remaining n-1 strings in complete disarray. Also, she remembers the initial n strings. She wants to know which string was stolen, but she is not good at programming. Can you help her? This problem is made as interactive. It means, that your solution will read the input, given by the interactor. But the interactor will give you the full input at the beginning and after that, you should print the answer. So you should solve the problem, like as you solve the usual, non-interactive problem because you won 't have any interaction process. The only thing you should not forget is to flush the output buffer, after printing the answer. Otherwise, you can get an "Idleness limit exceeded" verdict. Refer to the interactive problems guide for the detailed information about flushing the output buffer. The input consists of multiple test cases. The first line contains a single integer t ( 1 <= q t <= q 100 ) -- the number of test cases. The first line of each test case contains two integers n , m ( 1 <= q n <= q 10^5 , 1 <= q m <= q 10^5 ) -- the number of strings and the length of each string, re'... |
Codeforces Round #732 Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
122122092 | ruban | B | July 11, 2021, 4:02 p.m. | OK | Delphi | TESTS | 13 | 46 | 55705600 | 1200 | |
122148201 | wxyzabcd0123hjklmno | B | July 11, 2021, 9:37 p.m. | OK | GNU C++11 | TESTS | 13 | 15 | 4300800 | 1200 | |
122119343 | Qing_LKYi | B | July 11, 2021, 3:52 p.m. | OK | GNU C++11 | TESTS | 13 | 30 | 4198400 | 1200 | |
122124590 | StObOtZ | B | July 11, 2021, 4:11 p.m. | OK | GNU C++11 | TESTS | 13 | 30 | 4300800 | 1200 | |
122121761 | HZer | B | July 11, 2021, 4 p.m. | OK | GNU C++11 | TESTS | 13 | 30 | 4710400 | 1200 | |
122169472 | Arashimu | B | July 12, 2021, 4:58 a.m. | OK | GNU C++11 | TESTS | 13 | 31 | 4096000 | 1200 | |
122124879 | jay010 | B | July 11, 2021, 4:12 p.m. | OK | GNU C++11 | TESTS | 13 | 31 | 4096000 | 1200 | |
122134006 | qwe854896 | B | July 11, 2021, 5:32 p.m. | OK | GNU C++11 | TESTS | 13 | 31 | 4198400 | 1200 | |
122173109 | SM01 | B | July 12, 2021, 5:51 a.m. | OK | GNU C++11 | TESTS | 13 | 31 | 4505600 | 1200 | |
122144942 | yhhuang | B | July 11, 2021, 8:11 p.m. | OK | GNU C++11 | TESTS | 13 | 31 | 4915200 | 1200 | |
122119636 | mlilliah642 | B | July 11, 2021, 3:53 p.m. | OK | GNU C++11 | TESTS | 13 | 31 | 6246400 | 1200 | |
122164526 | SurajitPore | B | July 12, 2021, 3:29 a.m. | OK | GNU C++14 | TESTS | 13 | 15 | 4812800 | 1200 | |
122169071 | enceladuss | B | July 12, 2021, 4:51 a.m. | OK | GNU C++14 | TESTS | 13 | 15 | 8499200 | 1200 | |
122134057 | hardy_9795 | B | July 11, 2021, 5:32 p.m. | OK | GNU C++14 | TESTS | 13 | 15 | 8499200 | 1200 | |
122128971 | macha21 | B | July 11, 2021, 4:28 p.m. | OK | GNU C++14 | TESTS | 13 | 15 | 8806400 | 1200 | |
122157452 | _Akhil_3366 | B | July 12, 2021, 1:10 a.m. | OK | GNU C++14 | TESTS | 13 | 15 | 11264000 | 1200 | |
122138057 | Abhay_raj1707 | B | July 11, 2021, 6:13 p.m. | OK | GNU C++14 | TESTS | 13 | 15 | 11673600 | 1200 | |
122136016 | bursty | B | July 11, 2021, 5:49 p.m. | OK | GNU C++14 | TESTS | 13 | 15 | 11673600 | 1200 | |
122133944 | rajbit | B | July 11, 2021, 5:32 p.m. | OK | GNU C++14 | TESTS | 13 | 15 | 24780800 | 1200 | |
122161817 | cupvis | B | July 12, 2021, 2:41 a.m. | OK | GNU C++14 | TESTS | 13 | 30 | 3993600 | 1200 | |
122173276 | sumanmaji | B | July 12, 2021, 5:53 a.m. | OK | GNU C++14 | TESTS | 13 | 30 | 4096000 | 1200 | |
122172747 | pratham0909 | B | July 12, 2021, 5:46 a.m. | OK | GNU C++17 | TESTS | 13 | 15 | 3788800 | 1200 | |
122166348 | Rextrom | B | July 12, 2021, 4:03 a.m. | OK | GNU C++17 | TESTS | 13 | 15 | 3993600 | 1200 | |
122134637 | code_bot101 | B | July 11, 2021, 5:37 p.m. | OK | GNU C++17 | TESTS | 13 | 15 | 3993600 | 1200 | |
122119112 | RIPUNJAY | B | July 11, 2021, 3:51 p.m. | OK | GNU C++17 | TESTS | 13 | 15 | 3993600 | 1200 | |
122172529 | MananDahiya | B | July 12, 2021, 5:43 a.m. | OK | GNU C++17 | TESTS | 13 | 15 | 4096000 | 1200 | |
122136684 | RobinPH | B | July 11, 2021, 5:56 p.m. | OK | GNU C++17 | TESTS | 13 | 15 | 4096000 | 1200 | |
122142146 | ashishtayal | B | July 11, 2021, 7:16 p.m. | OK | GNU C++17 | TESTS | 13 | 15 | 4198400 | 1200 | |
122164224 | sogumm | B | July 12, 2021, 3:23 a.m. | OK | GNU C++17 | TESTS | 13 | 15 | 4403200 | 1200 | |
122120820 | ig.heng | B | July 11, 2021, 3:57 p.m. | OK | GNU C++17 | TESTS | 13 | 15 | 4403200 | 1200 | |
122153312 | Sinify | B | July 11, 2021, 10:47 p.m. | OK | GNU C++17 | TESTS | 13 | 15 | 4812800 | 1200 | |
122170598 | rgnerdplayer | B | July 12, 2021, 5:16 a.m. | OK | GNU C++17 (64) | TESTS | 13 | 15 | 4915200 | 1200 | |
122160417 | vineeth_kada | B | July 12, 2021, 2:17 a.m. | OK | GNU C++17 (64) | TESTS | 13 | 15 | 4915200 | 1200 | |
122134985 | momenta | B | July 11, 2021, 5:40 p.m. | OK | GNU C++17 (64) | TESTS | 13 | 15 | 4915200 | 1200 | |
122123602 | deepak_15 | B | July 11, 2021, 4:07 p.m. | OK | GNU C++17 (64) | TESTS | 13 | 15 | 5120000 | 1200 | |
122142301 | deepak_15 | B | July 11, 2021, 7:19 p.m. | OK | GNU C++17 (64) | TESTS | 13 | 15 | 5324800 | 1200 | |
122166743 | ravi_sins | B | July 12, 2021, 4:10 a.m. | OK | GNU C++17 (64) | TESTS | 13 | 15 | 10752000 | 1200 | |
122155235 | Anas-Abdullah | B | July 12, 2021, midnight | OK | GNU C++17 (64) | TESTS | 13 | 15 | 10752000 | 1200 | |
122146833 | c0deninja | B | July 11, 2021, 8:56 p.m. | OK | GNU C++17 (64) | TESTS | 13 | 15 | 10752000 | 1200 | |
122143365 | sasung | B | July 11, 2021, 7:40 p.m. | OK | GNU C++17 (64) | TESTS | 13 | 15 | 18022400 | 1200 | |
122146439 | qwerty123454321 | B | July 11, 2021, 8:45 p.m. | OK | GNU C++17 (64) | TESTS | 13 | 15 | 18329600 | 1200 | |
122140527 | clyring | B | July 11, 2021, 6:48 p.m. | OK | Haskell | TESTS | 13 | 108 | 31641600 | 1200 | |
122148533 | Hasker | B | July 11, 2021, 9:46 p.m. | OK | Haskell | TESTS | 13 | 187 | 51609600 | 1200 | |
122166338 | YashSaxena | B | July 12, 2021, 4:03 a.m. | OK | Java 11 | TESTS | 13 | 186 | 23756800 | 1200 | |
122136356 | FLORINNN | B | July 11, 2021, 5:53 p.m. | OK | Java 11 | TESTS | 13 | 186 | 23859200 | 1200 | |
122134318 | BestEveryman | B | July 11, 2021, 5:34 p.m. | OK | Java 11 | TESTS | 13 | 186 | 23859200 | 1200 | |
122171889 | jainpriyanshu341 | B | July 12, 2021, 5:34 a.m. | OK | Java 11 | TESTS | 13 | 187 | 23756800 | 1200 | |
122143475 | Kunal_30 | B | July 11, 2021, 7:42 p.m. | OK | Java 11 | TESTS | 13 | 187 | 23756800 | 1200 | |
122142365 | ImpossibleCode | B | July 11, 2021, 7:20 p.m. | OK | Java 11 | TESTS | 13 | 187 | 23961600 | 1200 | |
122120348 | kp_863 | B | July 11, 2021, 3:55 p.m. | OK | Java 11 | TESTS | 13 | 202 | 24371200 | 1200 | |
122137847 | vinam | B | July 11, 2021, 6:10 p.m. | OK | Java 11 | TESTS | 13 | 202 | 25088000 | 1200 | |
122121526 | KarMa_ | B | July 11, 2021, 4 p.m. | OK | Java 11 | TESTS | 13 | 202 | 27136000 | 1200 | |
122142019 | henrychenOutlook | B | July 11, 2021, 7:15 p.m. | OK | Java 11 | TESTS | 13 | 202 | 30003200 | 1200 | |
122173147 | Halix | B | July 12, 2021, 5:51 a.m. | OK | Java 8 | TESTS | 13 | 124 | 20480000 | 1200 | |
122170098 | C_P_T_N | B | July 12, 2021, 5:08 a.m. | OK | Java 8 | TESTS | 13 | 124 | 26521600 | 1200 | |
122121861 | manan_0104 | B | July 11, 2021, 4:01 p.m. | OK | Java 8 | TESTS | 13 | 124 | 26931200 | 1200 | |
122162854 | coolManit | B | July 12, 2021, 2:59 a.m. | OK | Java 8 | TESTS | 13 | 124 | 27443200 | 1200 | |
122169008 | grivarvicky | B | July 12, 2021, 4:50 a.m. | OK | Java 8 | TESTS | 13 | 124 | 37785600 | 1200 | |
122142740 | sahajjaiswal | B | July 11, 2021, 7:27 p.m. | OK | Java 8 | TESTS | 13 | 124 | 38604800 | 1200 | |
122166525 | harsh_03_m | B | July 12, 2021, 4:07 a.m. | OK | Java 8 | TESTS | 13 | 139 | 27238400 | 1200 | |
122137769 | naitikvarshney | B | July 11, 2021, 6:09 p.m. | OK | Java 8 | TESTS | 13 | 139 | 38092800 | 1200 | |
122120365 | kzhang2012 | B | July 11, 2021, 3:55 p.m. | OK | Java 8 | TESTS | 13 | 140 | 26726400 | 1200 | |
122147106 | love1024 | B | July 11, 2021, 9:03 p.m. | OK | Java 8 | TESTS | 13 | 140 | 26828800 | 1200 | |
122153120 | amanpatel23 | B | July 11, 2021, 10:41 p.m. | OK | Kotlin | TESTS | 13 | 171 | 39526400 | 1200 | |
122125400 | ThinkingDobby | B | July 11, 2021, 4:15 p.m. | OK | Kotlin | TESTS | 13 | 171 | 40755200 | 1200 | |
122137146 | rabbitsthecat | B | July 11, 2021, 6:02 p.m. | OK | Kotlin | TESTS | 13 | 186 | 26931200 | 1200 | |
122122358 | hloya | B | July 11, 2021, 4:03 p.m. | OK | Mono C# | TESTS | 13 | 46 | 15462400 | 1200 | |
122133990 | PanZverski | B | July 11, 2021, 5:32 p.m. | OK | MS C++ 2017 | TESTS | 13 | 46 | 13107200 | 1200 | |
122161616 | zhangchengxiang | B | July 12, 2021, 2:38 a.m. | OK | MS C++ 2017 | TESTS | 13 | 61 | 8806400 | 1200 | |
122160362 | Dbody | B | July 12, 2021, 2:16 a.m. | OK | MS C++ 2017 | TESTS | 13 | 61 | 19251200 | 1200 | |
122145351 | TheRomulus | B | July 11, 2021, 8:19 p.m. | OK | MS C++ 2017 | TESTS | 13 | 62 | 3993600 | 1200 | |
122118765 | _nshameek | B | July 11, 2021, 3:50 p.m. | OK | MS C++ 2017 | TESTS | 13 | 62 | 4403200 | 1200 | |
122117928 | psn2706 | B | July 11, 2021, 3:47 p.m. | OK | MS C++ 2017 | TESTS | 13 | 62 | 4403200 | 1200 | |
122139921 | Ilyaiq300 | B | July 11, 2021, 6:39 p.m. | OK | MS C++ 2017 | TESTS | 13 | 62 | 16486400 | 1200 | |
122129347 | Vetriti | B | July 11, 2021, 4:29 p.m. | OK | MS C++ 2017 | TESTS | 13 | 78 | 4403200 | 1200 | |
122119578 | whaeun25 | B | July 11, 2021, 3:53 p.m. | OK | MS C++ 2017 | TESTS | 13 | 78 | 8806400 | 1200 | |
122143936 | UnHingedFrog | B | July 11, 2021, 7:51 p.m. | OK | MS C++ 2017 | TESTS | 13 | 78 | 9318400 | 1200 | |
122136778 | acorn11 | B | July 11, 2021, 5:57 p.m. | OK | PyPy 2 | TESTS | 13 | 373 | 28262400 | 1200 | |
122168780 | rivnam | B | July 12, 2021, 4:46 a.m. | OK | PyPy 3 | TESTS | 13 | 124 | 28262400 | 1200 | |
122168855 | rivnam | B | July 12, 2021, 4:47 a.m. | OK | PyPy 3 | TESTS | 13 | 139 | 28057600 | 1200 | |
122122243 | FruminousBandersnatch | B | July 11, 2021, 4:02 p.m. | OK | PyPy 3 | TESTS | 13 | 155 | 27033600 | 1200 | |
122154549 | beethoven97 | B | July 11, 2021, 11:35 p.m. | OK | PyPy 3 | TESTS | 13 | 155 | 30208000 | 1200 | |
122154682 | bjy | B | July 11, 2021, 11:39 p.m. | OK | PyPy 3 | TESTS | 13 | 156 | 30105600 | 1200 | |
122164954 | kirito18086 | B | July 12, 2021, 3:37 a.m. | OK | PyPy 3 | TESTS | 13 | 156 | 46592000 | 1200 | |
122145062 | ashit | B | July 11, 2021, 8:13 p.m. | OK | PyPy 3 | TESTS | 13 | 170 | 27648000 | 1200 | |
122154611 | beethoven97 | B | July 11, 2021, 11:36 p.m. | OK | PyPy 3 | TESTS | 13 | 171 | 30208000 | 1200 | |
122136973 | SPD_9X2 | B | July 11, 2021, 6 p.m. | OK | PyPy 3 | TESTS | 13 | 171 | 30208000 | 1200 | |
122123799 | ksd_3 | B | July 11, 2021, 4:08 p.m. | OK | PyPy 3 | TESTS | 13 | 186 | 31232000 | 1200 | |
122172786 | sergeantsnape | B | July 12, 2021, 5:47 a.m. | OK | Python 3 | TESTS | 13 | 155 | 8806400 | 1200 | |
122164243 | Land_oF_cOdErS | B | July 12, 2021, 3:24 a.m. | OK | Python 3 | TESTS | 13 | 186 | 8908800 | 1200 | |
122123083 | singh.tarun.iit | B | July 11, 2021, 4:05 p.m. | OK | Python 3 | TESTS | 13 | 217 | 14745600 | 1200 | |
122144689 | KLWDSF_mantra | B | July 11, 2021, 8:06 p.m. | OK | Python 3 | TESTS | 13 | 218 | 8806400 | 1200 | |
122146491 | xorca | B | July 11, 2021, 8:46 p.m. | OK | Python 3 | TESTS | 13 | 218 | 9113600 | 1200 | |
122128207 | klindyuk | B | July 11, 2021, 4:25 p.m. | OK | Python 3 | TESTS | 13 | 233 | 9523200 | 1200 | |
122124008 | KV2931 | B | July 11, 2021, 4:09 p.m. | OK | Python 3 | TESTS | 13 | 234 | 20787200 | 1200 | |
122130246 | aishu007 | B | July 11, 2021, 4:32 p.m. | OK | Python 3 | TESTS | 13 | 249 | 8704000 | 1200 | |
122159727 | nsharc4 | B | July 12, 2021, 2:01 a.m. | OK | Python 3 | TESTS | 13 | 249 | 8806400 | 1200 | |
122122251 | peakypo | B | July 11, 2021, 4:02 p.m. | OK | Python 3 | TESTS | 13 | 249 | 8806400 | 1200 | |
122157972 | p00f | B | July 12, 2021, 1:21 a.m. | OK | Rust | TESTS | 13 | 46 | 15360000 | 1200 | |
122164340 | p00f | B | July 12, 2021, 3:25 a.m. | OK | Rust | TESTS | 13 | 61 | 15360000 | 1200 |
Back to search problems