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 |
---|---|---|---|---|---|---|
1697 | Educational Codeforces Round 130 (Rated for Div. 2) | FINISHED | False | 7200 | 82221863 | June 12, 2022, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 4553 ) | D | Guess The String | PROGRAMMING | binary search brute force constructive algorithms ds interactive |
B"This is an interactive problem. Remember to flush your output while communicating with the testing program. You may use fflush(stdout) in C++, system.out.flush() in Java, stdout.flush() in Python or flush(output) in Pascal to flush the output. If you use some other programming language, consult its documentation. You may also refer to the guide on interactive problems: https://codeforces.com/blog/entry/45307. The jury has chosen a string s consisting of n characters; each character of s is a lowercase Latin letter. Your task is to guess this string; initially, you know only its length. You may ask queries of two types: You are allowed to ask no more than 26 queries of the first type, and no more than 6000 queries of the second type. Your task is to restore the string s . For each test in this problem, the string s is fixed beforehand, and will be the same for every submission. Initially, the jury program sends one integer n on a separate line -- the size of s ( 1 <= n <= 1000 ). To give the answer, print one line ! s with a line break in the end, where s should be the string picked by the jury. After that, your program should flush the output and terminate gracefully. To ask a query, you should send one line containing the query, in one of the following formats: Don't forget to flush the output after sending the query line. The answer to your query will be given on a separate line. For a query of the first type, the answer will be the character s_i . For a query of the second type, the answer will be an integer equal to the number of different characters among s_l, s_{l+1}, ... , s_r . You are allowed to ask no more than 26 queries of the first type, and no more than 6000 queries of the second type. In case you ask too many queries, or the jury program fails to recognize your query format, the answer to your query will be one integer 0 . After receiving 0 as"... |
103835 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
160389956 | chrisfcoder | D | June 13, 2022, 2:42 a.m. | OK | C# 10 | TESTS | 26 | 155 | 512000 | ||
160369189 | rainboy | D | June 12, 2022, 5:47 p.m. | OK | GNU C11 | TESTS | 26 | 46 | 0 | ||
160362554 | dean.menezes | D | June 12, 2022, 4:53 p.m. | OK | GNU C11 | TESTS | 26 | 77 | 0 | ||
160360858 | dean.menezes | D | June 12, 2022, 4:43 p.m. | OK | GNU C11 | TESTS | 26 | 78 | 0 | ||
160360758 | peter112358 | D | June 12, 2022, 4:43 p.m. | OK | GNU C++14 | TESTS | 26 | 46 | 0 | ||
160359015 | liuyaningqwq | D | June 12, 2022, 4:36 p.m. | OK | GNU C++14 | TESTS | 26 | 46 | 0 | ||
160396415 | kiyoya_21 | D | June 13, 2022, 5:04 a.m. | OK | GNU C++14 | TESTS | 26 | 46 | 0 | ||
160389729 | quanlt206 | D | June 13, 2022, 2:36 a.m. | OK | GNU C++14 | TESTS | 26 | 46 | 0 | ||
160379836 | KhaustovPavel | D | June 12, 2022, 8:31 p.m. | OK | GNU C++14 | TESTS | 26 | 46 | 102400 | ||
160380875 | Astro-naut | D | June 12, 2022, 8:57 p.m. | OK | GNU C++14 | TESTS | 26 | 46 | 102400 | ||
160375471 | NitheeshKumar4 | D | June 12, 2022, 7:10 p.m. | OK | GNU C++14 | TESTS | 26 | 46 | 204800 | ||
160360224 | 100_gods | D | June 12, 2022, 4:40 p.m. | OK | GNU C++14 | TESTS | 26 | 46 | 204800 | ||
160368890 | KevW | D | June 12, 2022, 5:44 p.m. | OK | GNU C++14 | TESTS | 26 | 46 | 204800 | ||
160386634 | Erinyes | D | June 13, 2022, 12:50 a.m. | OK | GNU C++14 | TESTS | 26 | 46 | 4096000 | ||
160378408 | BappiLahiri | D | June 12, 2022, 8:01 p.m. | OK | GNU C++17 | TESTS | 26 | 31 | 102400 | ||
160389692 | Hy3 | D | June 13, 2022, 2:35 a.m. | OK | GNU C++17 | TESTS | 26 | 46 | 0 | ||
160387911 | drdilyor | D | June 13, 2022, 1:41 a.m. | OK | GNU C++17 | TESTS | 26 | 46 | 0 | ||
160385510 | lizh1 | D | June 12, 2022, 11:57 p.m. | OK | GNU C++17 | TESTS | 26 | 46 | 0 | ||
160377441 | Ayanaa6 | D | June 12, 2022, 7:41 p.m. | OK | GNU C++17 | TESTS | 26 | 46 | 0 | ||
160369118 | PyTorch | D | June 12, 2022, 5:47 p.m. | OK | GNU C++17 | TESTS | 26 | 46 | 0 | ||
160366545 | ImtiazCho | D | June 12, 2022, 5:22 p.m. | OK | GNU C++17 | TESTS | 26 | 46 | 0 | ||
160392338 | hhremaker | D | June 13, 2022, 3:39 a.m. | OK | GNU C++17 | TESTS | 26 | 46 | 0 | ||
160392326 | KZN_ | D | June 13, 2022, 3:39 a.m. | OK | GNU C++17 | TESTS | 26 | 46 | 0 | ||
160396971 | Saikiran889 | D | June 13, 2022, 5:14 a.m. | OK | GNU C++17 | TESTS | 26 | 46 | 0 | ||
160363479 | 542007220117 | D | June 12, 2022, 4:59 p.m. | OK | GNU C++17 (64) | TESTS | 26 | 46 | 0 | ||
160360647 | satyarthP | D | June 12, 2022, 4:42 p.m. | OK | GNU C++17 (64) | TESTS | 26 | 46 | 0 | ||
160360278 | zwuis | D | June 12, 2022, 4:40 p.m. | OK | GNU C++17 (64) | TESTS | 26 | 46 | 0 | ||
160370894 | Ankur_Agrawal | D | June 12, 2022, 6:07 p.m. | OK | GNU C++17 (64) | TESTS | 26 | 46 | 0 | ||
160378865 | NewLul | D | June 12, 2022, 8:10 p.m. | OK | GNU C++17 (64) | TESTS | 26 | 46 | 0 | ||
160364454 | Time_JYF | D | June 12, 2022, 5:05 p.m. | OK | GNU C++17 (64) | TESTS | 26 | 46 | 0 | ||
160364351 | powergee101 | D | June 12, 2022, 5:05 p.m. | OK | GNU C++17 (64) | TESTS | 26 | 46 | 409600 | ||
160387415 | Tyyyyy | D | June 13, 2022, 1:25 a.m. | OK | GNU C++17 (64) | TESTS | 26 | 46 | 1024000 | ||
160391625 | Trying_004 | D | June 13, 2022, 3:24 a.m. | OK | GNU C++17 (64) | TESTS | 26 | 61 | 0 | ||
160399731 | rishit3234 | D | June 13, 2022, 6:02 a.m. | OK | GNU C++17 (64) | TESTS | 26 | 61 | 0 | ||
160357277 | skoran.andrey | D | June 12, 2022, 4:32 p.m. | OK | GNU C++20 (64) | TESTS | 26 | 31 | 0 | ||
160395690 | acw_kat | D | June 13, 2022, 4:50 a.m. | OK | GNU C++20 (64) | TESTS | 26 | 46 | 0 | ||
160392423 | The_Fool__ | D | June 13, 2022, 3:41 a.m. | OK | GNU C++20 (64) | TESTS | 26 | 46 | 0 | ||
160385463 | Metal_Fury | D | June 12, 2022, 11:54 p.m. | OK | GNU C++20 (64) | TESTS | 26 | 46 | 0 | ||
160383558 | hartiksalaria | D | June 12, 2022, 10:21 p.m. | OK | GNU C++20 (64) | TESTS | 26 | 46 | 0 | ||
160379962 | goddice | D | June 12, 2022, 8:35 p.m. | OK | GNU C++20 (64) | TESTS | 26 | 46 | 0 | ||
160377676 | abotaha23 | D | June 12, 2022, 7:46 p.m. | OK | GNU C++20 (64) | TESTS | 26 | 46 | 0 | ||
160376385 | akcube | D | June 12, 2022, 7:24 p.m. | OK | GNU C++20 (64) | TESTS | 26 | 46 | 0 | ||
160375683 | Fighter-Man | D | June 12, 2022, 7:14 p.m. | OK | GNU C++20 (64) | TESTS | 26 | 46 | 0 | ||
160375120 | KuriousKJ | D | June 12, 2022, 7:04 p.m. | OK | GNU C++20 (64) | TESTS | 26 | 46 | 0 | ||
160391471 | koqo | D | June 13, 2022, 3:20 a.m. | OK | Go | TESTS | 26 | 93 | 102400 | ||
160359630 | humwawe | D | June 12, 2022, 4:38 p.m. | OK | Java 11 | TESTS | 26 | 327 | 0 | ||
160382366 | dunkingdonuts | D | June 12, 2022, 9:40 p.m. | OK | Java 11 | TESTS | 26 | 389 | 307200 | ||
160382580 | dunkingdonuts | D | June 12, 2022, 9:46 p.m. | OK | Java 11 | TESTS | 26 | 405 | 307200 | ||
160370294 | pratham_b | D | June 12, 2022, 6 p.m. | OK | Java 11 | TESTS | 26 | 420 | 0 | ||
160370349 | pratham_b | D | June 12, 2022, 6:01 p.m. | OK | Java 11 | TESTS | 26 | 436 | 102400 | ||
160392480 | saga086 | D | June 13, 2022, 3:43 a.m. | OK | Java 11 | TESTS | 26 | 436 | 307200 | ||
160386326 | rerererere | D | June 13, 2022, 12:37 a.m. | OK | Java 11 | TESTS | 26 | 452 | 0 | ||
160377774 | profchi | D | June 12, 2022, 7:48 p.m. | OK | Java 11 | TESTS | 26 | 467 | 0 | ||
160378209 | freehandle | D | June 12, 2022, 7:56 p.m. | OK | Java 11 | TESTS | 26 | 467 | 102400 | ||
160363785 | dzhi | D | June 12, 2022, 5:01 p.m. | OK | Java 11 | TESTS | 26 | 514 | 0 | ||
160367016 | golions | D | June 12, 2022, 5:26 p.m. | OK | Java 8 | TESTS | 26 | 280 | 0 | ||
160366493 | UniversalAdmin | D | June 12, 2022, 5:22 p.m. | OK | Java 8 | TESTS | 26 | 280 | 0 | ||
160363646 | Ghost_Fox_Sledgehammer | D | June 12, 2022, 5 p.m. | OK | Java 8 | TESTS | 26 | 295 | 0 | ||
160377948 | Virendra115 | D | June 12, 2022, 7:51 p.m. | OK | Java 8 | TESTS | 26 | 342 | 0 | ||
160357525 | AshrafEzz | D | June 12, 2022, 4:33 p.m. | OK | Java 8 | TESTS | 26 | 374 | 0 | ||
160357341 | invincible777 | D | June 12, 2022, 4:32 p.m. | OK | Java 8 | TESTS | 26 | 374 | 0 | ||
160398619 | DylanSmith | D | June 13, 2022, 5:44 a.m. | OK | Java 8 | TESTS | 26 | 389 | 0 | ||
160369890 | ashanksingh1997 | D | June 12, 2022, 5:55 p.m. | OK | Java 8 | TESTS | 26 | 405 | 0 | ||
160365588 | Zahid_Hasan_Sahin | D | June 12, 2022, 5:14 p.m. | OK | Java 8 | TESTS | 26 | 436 | 0 | ||
160361633 | xsc | D | June 12, 2022, 4:48 p.m. | OK | MS C++ 2017 | TESTS | 26 | 77 | 0 | ||
160364445 | ItamarNir | D | June 12, 2022, 5:05 p.m. | OK | MS C++ 2017 | TESTS | 26 | 77 | 2048000 | ||
160365907 | Ma3str0 | D | June 12, 2022, 5:16 p.m. | OK | MS C++ 2017 | TESTS | 26 | 93 | 0 | ||
160356773 | 1_2_3_4_5_9 | D | June 12, 2022, 4:32 p.m. | OK | PyPy 2 | TESTS | 26 | 265 | 5324800 | ||
160367698 | sushmanth.dampur8780 | D | June 12, 2022, 5:32 p.m. | OK | PyPy 3 | TESTS | 26 | 343 | 5734400 | ||
160367530 | sushmanth.dampur8780 | D | June 12, 2022, 5:31 p.m. | OK | PyPy 3 | TESTS | 26 | 358 | 5632000 | ||
160367467 | anishde85 | D | June 12, 2022, 5:30 p.m. | OK | PyPy 3 | TESTS | 26 | 483 | 10035200 | ||
160365456 | Adroit_001 | D | June 12, 2022, 5:12 p.m. | OK | PyPy 3-64 | TESTS | 26 | 280 | 9932800 | ||
160360882 | hritik3878 | D | June 12, 2022, 4:43 p.m. | OK | PyPy 3-64 | TESTS | 26 | 280 | 10137600 | ||
160389239 | MistaAsh | D | June 13, 2022, 2:22 a.m. | OK | PyPy 3-64 | TESTS | 26 | 295 | 7884800 | ||
160366718 | Aksnov | D | June 12, 2022, 5:24 p.m. | OK | PyPy 3-64 | TESTS | 26 | 296 | 9932800 | ||
160372615 | FlakeLCR | D | June 12, 2022, 6:28 p.m. | OK | PyPy 3-64 | TESTS | 26 | 312 | 10547200 | ||
160377179 | SophieHatter | D | June 12, 2022, 7:37 p.m. | OK | PyPy 3-64 | TESTS | 26 | 358 | 7987200 | ||
160394479 | niumeng | D | June 13, 2022, 4:26 a.m. | OK | PyPy 3-64 | TESTS | 26 | 358 | 10956800 | ||
160362402 | sonowz | D | June 12, 2022, 4:52 p.m. | OK | PyPy 3-64 | TESTS | 26 | 373 | 9932800 | ||
160357560 | Shirotsume | D | June 12, 2022, 4:33 p.m. | OK | PyPy 3-64 | TESTS | 26 | 373 | 10137600 | ||
160378062 | PMiguelez | D | June 12, 2022, 7:53 p.m. | OK | PyPy 3-64 | TESTS | 26 | 374 | 10444800 | ||
160374862 | Bakerston | D | June 12, 2022, 7 p.m. | OK | Python 3 | TESTS | 26 | 202 | 307200 | ||
160383469 | alonforces | D | June 12, 2022, 10:18 p.m. | OK | Python 3 | TESTS | 26 | 234 | 307200 | ||
160365770 | njw1204 | D | June 12, 2022, 5:15 p.m. | OK | Python 3 | TESTS | 26 | 249 | 204800 | ||
160377566 | kumalimak | D | June 12, 2022, 7:44 p.m. | OK | Rust 2021 | TESTS | 26 | 124 | 0 |
Back to search problems