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 |
|---|---|---|---|---|---|---|
| 2237 | Order Capital Round 2 (Codeforces Round 1104, Div. 1 + Div. 2) | FINISHED | False | 10800 | 4807484 | June 18, 2026, 2:35 p.m. |
Solved |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
|---|---|---|---|---|---|---|
| ( 441 ) | G | Send GCDs | PROGRAMMING | communication interactive math |
This is a run-twice (communication) interactive problem. There are two players: Ja the Ghost and Quack the Duck. The jury (otherwise known as the interactor of this problem) will first interact with Ja. After Ja ends the interaction, the jury will interact with Quack. Note that Ja and Quack may not directly pass information to each other; both players are only able to send information to or receive information from the jury. Before the interaction, the jury determines an integer (n) and an array of (n) positive integers (a_1, a_2, \ldots, a_n). These values are consistent across both players. Ja receives (n) and an array of (n) positive integers (a_1, a_2, \ldots, a_n) from the jury, which he wants to send to Quack, where (a_i \le 10^6). To do this, Ja will select an integer (k), where ()k \le \left\lceil \frac{10n}{9} \right\rceil + 150,() and create an array of positive integers (b_1, b_2, \ldots, b_k), where (b_i \le 10^6), and send it back to the jury. Then the jury will give Quack the integers (n) and (k). Quack can ask the jury at most (180n + 150) queries in the following form: Choose any two integers (i) and (j) ((1 \le i, j \le k), (i \neq j)), and the jury will respond with (\mathrm{gcd}(b_i, b_j)). Here, (\gcd(x, y)) denotes the greatest common divisor (GCD) of integers (x) and (y). Note that both (a) and (b) are hidden from Quack; Quack can only get information from queries. Ja wants to ensure that Quack can determine the original array (a). Your task is to act as both players and determine an optimal interaction strategy for both players so that Quack determines the original array (a) correctly. First Run Your code will run exactly twice on each test. On the first run, you will be Ja. Input The first line of the input contains the string first . The purpose of this is so your program recognizes that this is its first run, and it should a |
| Order Capital Round 2 (Codeforces Round 1104, 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 379441345 | AksLolCoding | G | June 19, 2026, 1:20 a.m. | OK | C++17 (GCC 7-32) | TESTS | 10 | 234 | 3891200 | ||
| 379419044 | bannu102305 | G | June 18, 2026, 5:24 p.m. | OK | C++17 (GCC 7-32) | TESTS | 10 | 343 | 2355200 | ||
| 379447245 | _annhien_ruby22 | G | June 19, 2026, 3:41 a.m. | OK | C++17 (GCC 7-32) | TESTS | 10 | 343 | 3788800 | ||
| 379441392 | AksLolCoding | G | June 19, 2026, 1:22 a.m. | OK | C++17 (GCC 7-32) | TESTS | 10 | 343 | 3788800 | ||
| 379431800 | dinohaur | G | June 18, 2026, 8:09 p.m. | OK | C++17 (GCC 7-32) | TESTS | 10 | 359 | 18124800 | ||
| 379441763 | qieman825 | G | June 19, 2026, 1:36 a.m. | OK | C++17 (GCC 7-32) | TESTS | 10 | 375 | 5017600 | ||
| 379414541 | David-M | G | June 18, 2026, 4:58 p.m. | OK | C++17 (GCC 7-32) | TESTS | 10 | 453 | 3276800 | ||
| 379453885 | xjx20099 | G | June 19, 2026, 5:31 a.m. | OK | C++17 (GCC 7-32) | TESTS | 10 | 453 | 64204800 | ||
| 379418486 | trappedintesseract | G | June 18, 2026, 5:21 p.m. | OK | C++17 (GCC 7-32) | TESTS | 10 | 468 | 51814400 | ||
| 379435196 | antoniowyn2 | G | June 18, 2026, 9:33 p.m. | OK | C++17 (GCC 7-32) | TESTS | 10 | 484 | 102400 | ||
| 379425723 | MGKA | G | June 18, 2026, 6:28 p.m. | OK | C++20 (GCC 13-64) | TESTS | 10 | 203 | 3891200 | ||
| 379439314 | zhy1206 | G | June 19, 2026, 12:11 a.m. | OK | C++20 (GCC 13-64) | TESTS | 10 | 203 | 4403200 | ||
| 379443269 | benben181 | G | June 19, 2026, 2:19 a.m. | OK | C++20 (GCC 13-64) | TESTS | 10 | 218 | 6860800 | ||
| 379450002 | moniniya | G | June 19, 2026, 4:30 a.m. | OK | C++20 (GCC 13-64) | TESTS | 10 | 218 | 36659200 | ||
| 379422986 | Eason_He | G | June 18, 2026, 5:58 p.m. | OK | C++20 (GCC 13-64) | TESTS | 10 | 234 | 1843200 | ||
| 379426350 | wuhudsm | G | June 18, 2026, 6:36 p.m. | OK | C++20 (GCC 13-64) | TESTS | 10 | 234 | 6963200 | ||
| 379438529 | FreddieLiu | G | June 18, 2026, 11:40 p.m. | OK | C++20 (GCC 13-64) | TESTS | 10 | 250 | 6758400 | ||
| 379423001 | Dark__Seith | G | June 18, 2026, 5:58 p.m. | OK | C++20 (GCC 13-64) | TESTS | 10 | 281 | 11571200 | ||
| 379437110 | -nameless- | G | June 18, 2026, 10:40 p.m. | OK | C++20 (GCC 13-64) | TESTS | 10 | 296 | 9830400 | ||
| 379453668 | szsyhh | G | June 19, 2026, 5:28 a.m. | OK | C++20 (GCC 13-64) | TESTS | 10 | 296 | 10342400 | ||
| 379451661 | heung_min | G | June 19, 2026, 4:58 a.m. | OK | C++23 (GCC 14-64, msys2) | TESTS | 10 | 93 | 1433600 | ||
| 379409295 | A_G | G | June 18, 2026, 4:32 p.m. | OK | C++23 (GCC 14-64, msys2) | TESTS | 10 | 140 | 8396800 | ||
| 379437925 | haojiandan | G | June 18, 2026, 11:16 p.m. | OK | C++23 (GCC 14-64, msys2) | TESTS | 10 | 171 | 4403200 | ||
| 379419750 | WildPeach.cn | G | June 18, 2026, 5:28 p.m. | OK | C++23 (GCC 14-64, msys2) | TESTS | 10 | 171 | 6348800 | ||
| 379415791 | 300iq | G | June 18, 2026, 5:05 p.m. | OK | C++23 (GCC 14-64, msys2) | TESTS | 10 | 171 | 7884800 | ||
| 379422139 | SDSXC | G | June 18, 2026, 5:49 p.m. | OK | C++23 (GCC 14-64, msys2) | TESTS | 10 | 171 | 24166400 | ||
| 379416231 | Dmitriy146 | G | June 18, 2026, 5:08 p.m. | OK | C++23 (GCC 14-64, msys2) | TESTS | 10 | 203 | 2867200 | ||
| 379448611 | edmondium23 | G | June 19, 2026, 4:06 a.m. | OK | C++23 (GCC 14-64, msys2) | TESTS | 10 | 218 | 6451200 | ||
| 379439039 | haojiandan | G | June 19, 2026, midnight | OK | C++23 (GCC 14-64, msys2) | TESTS | 10 | 234 | 4505600 | ||
| 379418833 | StevenKnight | G | June 18, 2026, 5:23 p.m. | OK | C++23 (GCC 14-64, msys2) | TESTS | 10 | 234 | 7065600 | ||
| 379433922 | arvindf232 | G | June 18, 2026, 8:56 p.m. | OK | Kotlin 2.2 | TESTS | 10 | 859 | 62976000 | ||
| 379426447 | ProblemI2isEasy | G | June 18, 2026, 6:37 p.m. | OK | PyPy 3-64 | TESTS | 10 | 406 | 13312000 | ||
| 379414676 | Milmon | G | June 18, 2026, 4:59 p.m. | OK | PyPy 3-64 | TESTS | 10 | 875 | 23347200 | ||
| 379419721 | sqthegod18 | G | June 18, 2026, 5:28 p.m. | OK | PyPy 3-64 | TESTS | 10 | 1109 | 61337600 | ||
| 379423122 | Dart-Xeyter | G | June 18, 2026, 5:59 p.m. | OK | PyPy 3-64 | TESTS | 10 | 1125 | 23244800 | ||
| 379416268 | cfs.py | G | June 18, 2026, 5:08 p.m. | OK | PyPy 3-64 | TESTS | 10 | 1218 | 16793600 | ||
| 379415958 | crazyilian | G | June 18, 2026, 5:06 p.m. | OK | PyPy 3-64 | TESTS | 10 | 1250 | 24883200 | ||
| 379404305 | literalchild | G | June 18, 2026, 4:12 p.m. | OK | PyPy 3-64 | TESTS | 10 | 1312 | 23347200 | ||
| 379415129 | liyin20200613 | G | June 18, 2026, 5:02 p.m. | OK | PyPy 3-64 | TESTS | 10 | 1421 | 41984000 | ||
| 379410046 | golomb | G | June 18, 2026, 4:35 p.m. | OK | PyPy 3-64 | TESTS | 10 | 1687 | 43622400 | ||
| 379414733 | harurun4635 | G | June 18, 2026, 4:59 p.m. | OK | PyPy 3-64 | TESTS | 10 | 2109 | 32665600 | ||
| 379416235 | shivanshsri2003 | G | June 18, 2026, 5:08 p.m. | OK | Python 3 | TESTS | 10 | 1359 | 37683200 | ||
| 379418476 | yinghua_luoxue | G | June 18, 2026, 5:21 p.m. | OK | Python 3 | TESTS | 10 | 1515 | 41472000 | ||
| 379413871 | indistylo | G | June 18, 2026, 4:55 p.m. | OK | Rust 2024 | TESTS | 10 | 343 | 9318400 | ||
| 379408348 | Egor | G | June 18, 2026, 4:28 p.m. | OK | Rust 2024 | TESTS | 10 | 359 | 11776000 | ||
| 379424482 | cvs-650 | G | June 18, 2026, 6:15 p.m. | OK | Rust 2024 | TESTS | 10 | 484 | 4403200 |
Back to search problems