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 |
|---|---|---|---|---|---|---|
| ( 486 ) | H | Hot and Cold | PROGRAMMING | binary search interactive | 2600 |
This is an interactive problem. After emigrating to another country, little Hanna came across the fact that playing "Hot and cold" became more difficult: she does not understand the hint phrases! You are to write a helping program for her. The playground where the game happens is a rectangle, and the treasure is hidden in some point with integer coordinates between 0 and (10^6), inclusive. Hanna visits several points with valid coordinates. If the visited point contains the hidden treasure, she receives the phrase "Found!" in the local language. Fortunately, the intonations allow her to recognize this phrase — in this problem it will be denoted by an exclamation mark. Otherwise, for each visited point except for the first one, Hanna receives a phrase in the local language stating whether she is now "Closer", "Further", or "At the same distance" from the treasure, compared to the previous point. The distances are measured in Euclidean metric. After the first visited point, in case of no treasure there, Hanna receives the phrase "Not found" in the local language. Your program must help Hanna find the treasure by visiting at most 64 points . Your program should print each visited point in a line with two coordinates between 0 and (10^6), inclusive, and flush the output after each one. For each visited point, the testing system writes one of the phrases: "Found!", "Closer", "Further", "At the same distance", or "Not found" in some language, consistent throughout the game. The first phrase ends with an exclamation mark, all other phrases do not contain exclamation marks. All phrases contain only Latin letters, spaces and exclamation marks, have lengths between 2 and 30, inclusive, don't start or end with a space, and are pairwise distinct. The phrases are not necessarily coming from any real human language. After receiving a phrase with an exclamation mark, your program must halt without printing anything else. Visiting points more than once is allowed, |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 184221048 | Zeardoe Unique_Hanpi cxm1024 | H | Dec. 7, 2022, 12:16 p.m. | OK | GNU C++14 | TESTS | 101 | 30 | 0 | 2600 | |
| 184224343 | NiroBC JosephNZ HetaoBest | H | Dec. 7, 2022, 12:46 p.m. | OK | GNU C++17 | TESTS | 101 | 15 | 0 | 2600 | |
| 184223192 | dragoon Alpha_Q Anachor | H | Dec. 7, 2022, 12:36 p.m. | OK | GNU C++17 | TESTS | 101 | 15 | 0 | 2600 | |
| 184222246 | Pajaraja MladenP milisav | H | Dec. 7, 2022, 12:28 p.m. | OK | GNU C++17 | TESTS | 101 | 15 | 0 | 2600 | |
| 184218705 | xiaowuc1 | H | Dec. 7, 2022, 11:53 a.m. | OK | GNU C++17 | TESTS | 101 | 15 | 512000 | 2600 | |
| 184222784 | atodo lucaperju BlueDiamond | H | Dec. 7, 2022, 12:33 p.m. | OK | GNU C++17 | TESTS | 101 | 30 | 0 | 2600 | |
| 184196522 | Riladavin vepifanov I_Remember_Olya_ashmelev | H | Dec. 7, 2022, 10:33 a.m. | OK | GNU C++17 | TESTS | 101 | 30 | 307200 | 2600 | |
| 184216819 | QCFium E869120 square1001 | H | Dec. 7, 2022, 11:35 a.m. | OK | GNU C++17 | TESTS | 101 | 31 | 409600 | 2600 | |
| 184287977 | MAOooOAM | H | Dec. 8, 2022, 5:09 a.m. | OK | GNU C++17 (64) | TESTS | 101 | 15 | 0 | 2600 | |
| 184221255 | kimoyami YaoBIG | H | Dec. 7, 2022, 12:18 p.m. | OK | GNU C++17 (64) | TESTS | 101 | 15 | 0 | 2600 | |
| 184220238 | jhhope1 imeimi nell_jwk | H | Dec. 7, 2022, 12:08 p.m. | OK | GNU C++17 (64) | TESTS | 101 | 15 | 0 | 2600 | |
| 184219955 | mango_lassi rivalq -is-this-fft- | H | Dec. 7, 2022, 12:05 p.m. | OK | GNU C++17 (64) | TESTS | 101 | 15 | 0 | 2600 | |
| 184209767 | gisp_zjz triple__a Roundgod | H | Dec. 7, 2022, 11:14 a.m. | OK | GNU C++17 (64) | TESTS | 101 | 15 | 0 | 2600 | |
| 184196970 | TLEwpdus ainta | H | Dec. 7, 2022, 10:38 a.m. | OK | GNU C++17 (64) | TESTS | 101 | 15 | 0 | 2600 | |
| 184196321 | orzdevinwang | H | Dec. 7, 2022, 10:31 a.m. | OK | GNU C++17 (64) | TESTS | 101 | 30 | 0 | 2600 | |
| 184281294 | Cxny | H | Dec. 8, 2022, 2:10 a.m. | OK | GNU C++17 (64) | TESTS | 101 | 31 | 0 | 2600 | |
| 184287003 | ghoast | H | Dec. 8, 2022, 4:50 a.m. | OK | GNU C++20 (64) | TESTS | 101 | 15 | 0 | 2600 | |
| 184273394 | Swistakk | H | Dec. 7, 2022, 10:14 p.m. | OK | GNU C++20 (64) | TESTS | 101 | 15 | 0 | 2600 | |
| 184263545 | Kira_1234 | H | Dec. 7, 2022, 7:36 p.m. | OK | GNU C++20 (64) | TESTS | 101 | 15 | 0 | 2600 | |
| 184244289 | JaySharma1048576 | H | Dec. 7, 2022, 4:05 p.m. | OK | GNU C++20 (64) | TESTS | 101 | 15 | 0 | 2600 | |
| 184239323 | Randias | H | Dec. 7, 2022, 3:13 p.m. | OK | GNU C++20 (64) | TESTS | 101 | 15 | 0 | 2600 | |
| 184225972 | amano_hina Fysty | H | Dec. 7, 2022, 1:01 p.m. | OK | GNU C++20 (64) | TESTS | 101 | 15 | 0 | 2600 | |
| 184225370 | unputdownable myee crazy_sea | H | Dec. 7, 2022, 12:55 p.m. | OK | GNU C++20 (64) | TESTS | 101 | 15 | 0 | 2600 | |
| 184224526 | .Mahdi. NullXD ArchUser84 | H | Dec. 7, 2022, 12:48 p.m. | OK | GNU C++20 (64) | TESTS | 101 | 15 | 0 | 2600 | |
| 184221493 | 353cerega Batrr mhq | H | Dec. 7, 2022, 12:21 p.m. | OK | GNU C++20 (64) | TESTS | 101 | 15 | 0 | 2600 | |
| 184221363 | LucaSeri EmanuelDicu robxln | H | Dec. 7, 2022, 12:19 p.m. | OK | GNU C++20 (64) | TESTS | 101 | 15 | 0 | 2600 | |
| 184253353 | DebNatkh | H | Dec. 7, 2022, 5:40 p.m. | OK | PyPy 3-64 | TESTS | 101 | 62 | 0 | 2600 | |
| 184226141 | ToxicPie9 | H | Dec. 7, 2022, 1:02 p.m. | OK | PyPy 3-64 | TESTS | 101 | 77 | 0 | 2600 | |
| 184224513 | Kilo_5723 komeiji_koishi514 wildfire032 | H | Dec. 7, 2022, 12:48 p.m. | OK | PyPy 3-64 | TESTS | 101 | 93 | 0 | 2600 | |
| 184214637 | H | Dec. 7, 2022, 11:15 a.m. | OK | Unknown | TESTS | 0 | 0 | 0 | 2600 | ||
| 184214585 | H | Dec. 7, 2022, 11:15 a.m. | OK | Unknown | TESTS | 0 | 0 | 0 | 2600 | ||
| 184214421 | H | Dec. 7, 2022, 11:15 a.m. | OK | Unknown | TESTS | 0 | 0 | 0 | 2600 | ||
| 184214394 | H | Dec. 7, 2022, 11:15 a.m. | OK | Unknown | TESTS | 0 | 0 | 0 | 2600 | ||
| 184214337 | H | Dec. 7, 2022, 11:15 a.m. | OK | Unknown | TESTS | 0 | 0 | 0 | 2600 | ||
| 184214162 | H | Dec. 7, 2022, 11:15 a.m. | OK | Unknown | TESTS | 0 | 0 | 0 | 2600 | ||
| 184213964 | H | Dec. 7, 2022, 11:15 a.m. | OK | Unknown | TESTS | 0 | 0 | 0 | 2600 | ||
| 184213761 | H | Dec. 7, 2022, 11:15 a.m. | OK | Unknown | TESTS | 0 | 0 | 0 | 2600 | ||
| 184213696 | H | Dec. 7, 2022, 11:15 a.m. | OK | Unknown | TESTS | 0 | 0 | 0 | 2600 | ||
| 184213450 | H | Dec. 7, 2022, 11:15 a.m. | OK | Unknown | TESTS | 0 | 0 | 0 | 2600 |
Back to search problems