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 |
---|---|---|---|---|---|---|
1483 | Codeforces Round 709 (Div. 1, based on Technocup 2021 Final Round) | FINISHED | False | 8100 | 120933563 | March 21, 2021, 1:20 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 41 ) | E | Vabank | PROGRAMMING | binary search interactive |
B'Gustaw is the chief bank manager in a huge bank. He has unlimited access to the database system of the bank, in a few clicks he can move any amount of money from the bank 's reserves to his own private account. However, the bank uses some fancy AI fraud detection system that makes stealing more difficult. Gustaw knows that the anti-fraud system just detects any operation that exceeds some fixed limit M euros and these operations are checked manually by a number of clerks. Thus, any fraud operation exceeding this limit is detected, while any smaller operation gets unnoticed. Gustaw doesn 't know the limit M and wants to find it out. In one operation, he can choose some integer X and try to move X euros from the bank 's reserves to his own account. Then, the following happens. Initially Gustaw has 1 euro on his account. Help him find the exact value of M in no more than 105 operations without getting him fired. Each test contains multiple test cases. The first line contains the number of test cases t ( 1 <= t <= 1000 ). For each test case, there is no input prior to your first query, but you can be sure that M is integer, and 0 <= M <= 10^{14} . For each test case, when you know the exact value of M , print a single line with format "! M ". After that your program should proceed to the next test case or terminate, if it is the last one. When you want to make an operation, print a single line with format "? X ", denoting that you try to move X euros ( 1 <= X <= 10^{14} ). As a response, read a single line that can take the following values: You can make at most 105 such queries in each test case. After printing a query do not forget to output end of line and flush the output. Otherwise, you will get Idleness limit exceeded. To do this, use: Hacks To make a hack, prepare an input in the following format. The first line contains a single integer t ( 1 <= '... |
Technocup 2021: Final Round and Codeforces Round #709 — tutorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
110770245 | rainboy | E | March 22, 2021, 8:56 p.m. | OK | GNU C11 | TESTS | 52 | 998 | 0 | ||
110771488 | rainboy | E | March 22, 2021, 9:35 p.m. | OK | GNU C11 | TESTS | 52 | 1060 | 102400 | ||
110689346 | FluffyT | E | March 21, 2021, 11:37 p.m. | OK | GNU C++11 | TESTS | 51 | 499 | 0 | ||
110706551 | Deep_Kevin | E | March 22, 2021, 6:59 a.m. | OK | GNU C++11 | TESTS | 51 | 560 | 0 | ||
110689042 | FluffyT | E | March 21, 2021, 11:22 p.m. | OK | GNU C++11 | TESTS | 51 | 608 | 0 | ||
110776670 | caoyue | E | March 23, 2021, 1:59 a.m. | OK | GNU C++11 | TESTS | 53 | 608 | 102400 | ||
110718719 | Mr_Eight | E | March 22, 2021, 9:38 a.m. | OK | GNU C++11 | TESTS | 51 | 1170 | 1024000 | ||
110748419 | Szoboszlai10 | E | March 22, 2021, 3:15 p.m. | OK | GNU C++14 | TESTS | 52 | 904 | 0 | ||
110672789 | DmitryGrigorev | E | March 21, 2021, 4:51 p.m. | OK | GNU C++14 | TESTS | 51 | 935 | 5529600 | ||
110692107 | y1s1 | E | March 22, 2021, 1:43 a.m. | OK | GNU C++14 | TESTS | 51 | 998 | 0 | ||
110666386 | semiexp | E | March 21, 2021, 3:22 p.m. | OK | GNU C++17 | TESTS | 50 | 842 | 102400 | ||
110657015 | ItstInternationalTourist | E | March 21, 2021, 2:49 p.m. | OK | GNU C++17 | TESTS | 50 | 857 | 0 | ||
110758370 | ftuknights | E | March 22, 2021, 5:22 p.m. | OK | GNU C++17 | TESTS | 52 | 857 | 0 | ||
110747440 | Normie28 | E | March 22, 2021, 3:04 p.m. | OK | GNU C++17 | TESTS | 52 | 857 | 0 | ||
110697965 | Thienu | E | March 22, 2021, 4:39 a.m. | OK | GNU C++17 | TESTS | 51 | 857 | 307200 | ||
110669157 | mango_lassi | E | March 21, 2021, 3:31 p.m. | OK | GNU C++17 | TESTS | 50 | 873 | 0 | ||
110762843 | sh1194 | E | March 22, 2021, 6:27 p.m. | OK | GNU C++17 | TESTS | 52 | 873 | 0 | ||
110698512 | RNS_CUS | E | March 22, 2021, 4:51 a.m. | OK | GNU C++17 | TESTS | 51 | 888 | 0 | ||
110748539 | peti1234 | E | March 22, 2021, 3:16 p.m. | OK | GNU C++17 | TESTS | 52 | 889 | 0 | ||
110758311 | ftuknights | E | March 22, 2021, 5:21 p.m. | OK | GNU C++17 | TESTS | 52 | 919 | 0 | ||
110679928 | stevenkplus | E | March 21, 2021, 6:33 p.m. | OK | GNU C++17 (64) | TESTS | 51 | 717 | 0 | ||
110662689 | Reinier | E | March 21, 2021, 3:08 p.m. | OK | GNU C++17 (64) | TESTS | 50 | 732 | 0 | ||
110692447 | generic_placeholder_name | E | March 22, 2021, 1:59 a.m. | OK | GNU C++17 (64) | TESTS | 51 | 748 | 0 | ||
110672673 | stevenkplus | E | March 21, 2021, 4:49 p.m. | OK | GNU C++17 (64) | TESTS | 51 | 748 | 0 | ||
110672436 | neal | E | March 21, 2021, 4:46 p.m. | OK | GNU C++17 (64) | TESTS | 50 | 763 | 0 | ||
110674005 | Swistakk | E | March 21, 2021, 5:08 p.m. | OK | GNU C++17 (64) | TESTS | 51 | 763 | 0 | ||
110682381 | neal | E | March 21, 2021, 7:14 p.m. | OK | GNU C++17 (64) | TESTS | 51 | 763 | 0 | ||
110732913 | frame233 | E | March 22, 2021, 12:19 p.m. | OK | GNU C++17 (64) | TESTS | 51 | 764 | 0 | ||
110676187 | generic_placeholder_name | E | March 21, 2021, 5:38 p.m. | OK | GNU C++17 (64) | TESTS | 51 | 764 | 0 | ||
110685090 | neal | E | March 21, 2021, 8:16 p.m. | OK | GNU C++17 (64) | TESTS | 51 | 780 | 0 |
Back to search problems