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 |
---|---|---|---|---|---|---|
1599 | Bubble Cup 14 - Finals Online Mirror (Unrated, ICPC Rules, Teams Preferred, Div. 1) | FINISHED | False | 14400 | 98052899 | Oct. 9, 2021, 9:05 a.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 1078 ) | H | Hidden Fortress | PROGRAMMING | interactive math |
B'This is an interactive problem! As part of your contribution in the Great Bubble War, you have been tasked with finding the newly built enemy fortress. The world you live in is a giant 10^9 x 10^9 grid, with squares having both coordinates between 1 and 10^9 . You know that the enemy base has the shape of a rectangle, with the sides parallel to the sides of the grid. The people of your world are extremely scared of being at the edge of the world, so you know that the base doesn 't contain any of the squares on the edges of the grid (the x or y coordinate being 1 or 10^9 ). To help you locate the base, you have been given a device that you can place in any square of the grid, and it will tell you the manhattan distance to the closest square of the base. The manhattan distance from square (a, b) to square (p, q) is calculated as |a xe2 x88 x92p|+|b xe2 x88 x92q| . If you try to place the device inside the enemy base, you will be captured by the enemy. Because of this, you need to make sure to never place the device inside the enemy base. Unfortunately, the device is powered by a battery and you can 't recharge it. This means that you can use the device at most 40 times. The input contains the answers to your queries. Your code is allowed to place the device on any square in the grid by writing "? i j " (1 <= q i,j <= q 10^9) . In return, it will recieve the manhattan distance to the closest square of the enemy base from square (i,j) or -1 if the square you placed the device on is inside the enemy base or outside the grid. If you recieve -1 instead of a positive number, exit immidiately and you will see the wrong answer verdict. Otherwise, you can get an arbitrary verdict because your solution will continue to read from a closed stream. Your solution should use no more than 40 queries. Once you are sure where the enemy base is located, you should print "! x $$'... |
BubbleCup2021.pdf |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
131363167 | cpp.sb2 | H | Oct. 9, 2021, 8:12 p.m. | OK | GNU C++14 | TESTS | 16 | 15 | 3686400 | ||
131344998 | BlueDiamond | H | Oct. 9, 2021, 3:48 p.m. | OK | GNU C++14 | TESTS | 16 | 15 | 3686400 | ||
131328876 | LZHMmiao ykl LZDQ | H | Oct. 9, 2021, 12:53 p.m. | OK | GNU C++14 | TESTS | 16 | 15 | 3686400 | ||
131321524 | 19ty02 | H | Oct. 9, 2021, 11:46 a.m. | OK | GNU C++14 | TESTS | 16 | 15 | 3686400 | ||
131321298 | goingdown | H | Oct. 9, 2021, 11:44 a.m. | OK | GNU C++14 | TESTS | 16 | 15 | 3686400 | ||
131338909 | zodiac | H | Oct. 9, 2021, 2:35 p.m. | OK | GNU C++14 | TESTS | 16 | 15 | 3788800 | ||
131320505 | CuCl2 Eric_hooo KillerX | H | Oct. 9, 2021, 11:38 a.m. | OK | GNU C++14 | TESTS | 16 | 15 | 3788800 | ||
131318730 | dongruixuan zxjk tsugu | H | Oct. 9, 2021, 11:23 a.m. | OK | GNU C++14 | TESTS | 16 | 15 | 3788800 | ||
131318639 | unputdownable | H | Oct. 9, 2021, 11:22 a.m. | OK | GNU C++14 | TESTS | 16 | 15 | 3788800 | ||
131315903 | chsuhan ympc2005 KJGKMTZB | H | Oct. 9, 2021, 11 a.m. | OK | GNU C++14 | TESTS | 16 | 15 | 3788800 | ||
131372625 | EricQian | H | Oct. 10, 2021, 2:27 a.m. | OK | GNU C++17 | TESTS | 16 | 15 | 3686400 | ||
131369344 | cookiedoth rqi Egor.Lifar | H | Oct. 9, 2021, 11:38 p.m. | OK | GNU C++17 | TESTS | 16 | 15 | 3686400 | ||
131351616 | Savo | H | Oct. 9, 2021, 5:15 p.m. | OK | GNU C++17 | TESTS | 16 | 15 | 3686400 | ||
131316557 | 6aren dai chemthan | H | Oct. 9, 2021, 11:05 a.m. | OK | GNU C++17 | TESTS | 16 | 15 | 3686400 | ||
131312239 | Cornflakes leapfrog DPair | H | Oct. 9, 2021, 10:28 a.m. | OK | GNU C++17 | TESTS | 16 | 15 | 3686400 | ||
131331637 | -DanTheMan- | H | Oct. 9, 2021, 1:19 p.m. | OK | GNU C++17 | TESTS | 16 | 15 | 3788800 | ||
131329952 | Doflaming0 | H | Oct. 9, 2021, 1:02 p.m. | OK | GNU C++17 | TESTS | 16 | 15 | 3788800 | ||
131322936 | Neal_lee grass8cow TanakaAsuka | H | Oct. 9, 2021, 11:56 a.m. | OK | GNU C++17 | TESTS | 16 | 15 | 3788800 | ||
131321826 | Indigosky | H | Oct. 9, 2021, 11:48 a.m. | OK | GNU C++17 | TESTS | 16 | 15 | 3788800 | ||
131317570 | rama_pang Pa.Nic T1duS | H | Oct. 9, 2021, 11:13 a.m. | OK | GNU C++17 | TESTS | 16 | 15 | 3788800 | ||
131308820 | dXqwq shygo_cmll01 pigstd | H | Oct. 9, 2021, 10:02 a.m. | OK | GNU C++17 (64) | TESTS | 16 | 15 | 4198400 | ||
131369509 | JovanB | H | Oct. 9, 2021, 11:49 p.m. | OK | GNU C++17 (64) | TESTS | 16 | 15 | 4300800 | ||
131366565 | greatarthur.exe | H | Oct. 9, 2021, 9:42 p.m. | OK | GNU C++17 (64) | TESTS | 16 | 15 | 4300800 | ||
131351469 | -is-this-fft- | H | Oct. 9, 2021, 5:14 p.m. | OK | GNU C++17 (64) | TESTS | 16 | 15 | 4300800 | ||
131343052 | 1-gon | H | Oct. 9, 2021, 3:23 p.m. | OK | GNU C++17 (64) | TESTS | 16 | 15 | 4300800 | ||
131334804 | lucccff | H | Oct. 9, 2021, 1:51 p.m. | OK | GNU C++17 (64) | TESTS | 16 | 15 | 4300800 | ||
131334493 | generic_placeholder_name | H | Oct. 9, 2021, 1:49 p.m. | OK | GNU C++17 (64) | TESTS | 16 | 15 | 4300800 | ||
131333419 | Lavine | H | Oct. 9, 2021, 1:38 p.m. | OK | GNU C++17 (64) | TESTS | 16 | 15 | 4300800 | ||
131328596 | yz6205 AhoCorasick Comet_Honeymoon | H | Oct. 9, 2021, 12:51 p.m. | OK | GNU C++17 (64) | TESTS | 16 | 15 | 4300800 | ||
131326644 | ZeroScar vioalbert Owmicron | H | Oct. 9, 2021, 12:32 p.m. | OK | GNU C++17 (64) | TESTS | 16 | 15 | 4300800 | ||
131312004 | uwi nuip maspy | H | Oct. 9, 2021, 10:26 a.m. | OK | Java 11 | TESTS | 16 | 296 | 24576000 | ||
131313384 | r57shell | H | Oct. 9, 2021, 10:38 a.m. | OK | Python 3 | TESTS | 16 | 61 | 6963200 | ||
131307535 | zidder _LeMur_ | H | Oct. 9, 2021, 9:51 a.m. | OK | Python 3 | TESTS | 16 | 77 | 6963200 | ||
131310916 | tuna_salad | H | Oct. 9, 2021, 10:18 a.m. | OK | Rust | TESTS | 16 | 15 | 3788800 | ||
131304983 | qwerty787788 | H | Oct. 9, 2021, 9:33 a.m. | OK | Rust | TESTS | 16 | 15 | 3788800 | ||
131310830 | tuna_salad | H | Oct. 9, 2021, 10:17 a.m. | OK | Rust | TESTS | 16 | 31 | 3788800 |
Back to search problems