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 |
---|---|---|---|---|---|---|
1906 | 2023-2024 ICPC, Asia Jakarta Regional Contest (Online Mirror, Unrated, ICPC Rules, Teams Preferred) | FINISHED | False | 18000 | 35601863 | Dec. 3, 2023, 4:35 a.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 203 ) | C | Cursed Game | PROGRAMMING | interactive |
B'You found an antique box in your warehouse and decided to open it. The moment you open the box, it traps you into a cursed game where you are playing against a demon. The game consists of 333 rounds and you have to win all rounds in order to escape. The demon also gives you 999 coins that you can use throughout all rounds. Note that in this problem, denote cell (r, c) of a grid as the cell in row r and column c of the grid. Before the start of each round, the demon will prepare a secret paper, which can be represented as a grid with 3 rows and 3 columns, both numbered from 1 to 3 . The demon will secretly put a hole in one or more cells, and you are not aware which cells have a hole in it. Then, the round starts with the demon giving you an odd integer N ( 3 <= q N <= q 33 ). Within each round, you can ask the demon several queries, each costing you one coin. For each query, you are allowed to give the demon your paper, which can be represented as a grid with N rows and N columns, both numbered from 1 to N . Each cell is coloured either black or white by you. For each of your query, the demon will calculate a binary result grid with N - 2 rows and N - 2 columns, both numbered from 1 to N - 2 . The value on cell (r, c) of the result grid is filled as follows. You win the round if the result grid consists of only the values 1 . Otherwise, the demon will give you the result grid as a feedback, and the round continues. If you have spent all the coins and still did not win all the rounds, then you will be trapped forever. Escape the cursed game! Each round is started with an odd integer N ( 3 <= q N <= q 33 ) which can be read through standard input. Then, for each query that you give to the demon, you can output N lines to standard output. Each of the N lines consists of N characters. The c -th character of th'... |
problem_analysis.pdf |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
235609932 | happy.potato | C | Dec. 3, 2023, 5:06 p.m. | OK | GNU C++17 | TESTS | 108 | 187 | 0 | ||
235524546 | subhasravani | C | Dec. 3, 2023, 1:13 p.m. | OK | GNU C++17 | TESTS | 108 | 187 | 307200 | ||
235506405 | lunilay2002 | C | Dec. 3, 2023, 10:38 a.m. | OK | GNU C++17 | TESTS | 108 | 187 | 307200 | ||
235480912 | gisp_zjz triple__a Roundgod | C | Dec. 3, 2023, 7:28 a.m. | OK | GNU C++17 | TESTS | 108 | 187 | 307200 | ||
235470784 | ecnerwala ksun48 | C | Dec. 3, 2023, 5:59 a.m. | OK | GNU C++20 (64) | TESTS | 108 | 62 | 102400 | ||
235534077 | antekb natofp kobor | C | Dec. 3, 2023, 2:36 p.m. | OK | GNU C++20 (64) | TESTS | 108 | 77 | 0 | ||
235503074 | KbltQaQ | C | Dec. 3, 2023, 10:09 a.m. | OK | GNU C++20 (64) | TESTS | 108 | 124 | 0 | ||
235505196 | hieplpvip | C | Dec. 3, 2023, 10:27 a.m. | OK | GNU C++20 (64) | TESTS | 108 | 124 | 102400 | ||
235648887 | SorahISA | C | Dec. 4, 2023, 2:36 a.m. | OK | GNU C++20 (64) | TESTS | 108 | 139 | 0 | ||
235471094 | grass8sheep qiuzx KbltQaQ | C | Dec. 3, 2023, 6:02 a.m. | OK | GNU C++20 (64) | TESTS | 108 | 155 | 0 | ||
235477892 | EternalAlexander installb W4P3R | C | Dec. 3, 2023, 7:03 a.m. | OK | GNU C++20 (64) | TESTS | 108 | 156 | 0 | ||
235617632 | chappy1 | C | Dec. 3, 2023, 6:02 p.m. | OK | GNU C++20 (64) | TESTS | 108 | 171 | 0 | ||
235528571 | CSHwang | C | Dec. 3, 2023, 1:48 p.m. | OK | GNU C++20 (64) | TESTS | 108 | 171 | 0 | ||
235487321 | QwertyPi | C | Dec. 3, 2023, 8:13 a.m. | OK | GNU C++20 (64) | TESTS | 108 | 421 | 0 | ||
235607109 | arvindf232 | C | Dec. 3, 2023, 4:51 p.m. | OK | Kotlin 1.6 | TESTS | 108 | 389 | 1331200 | ||
235607560 | arvindf232 | C | Dec. 3, 2023, 4:53 p.m. | OK | Kotlin 1.6 | TESTS | 108 | 405 | 1331200 |
Back to search problems