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 |
---|---|---|---|---|---|---|
1812 | April Fools Day Contest 2023 | FINISHED | False | 7200 | 56906663 | April 1, 2023, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 151 ) | H | Expected Twist | PROGRAMMING | *special interactive |
B'This is an interactive problem. There is an array a_1, a_2, ... , a_n of n integers hidden from you. Your task is to find the smallest element of the array. To do this, you can ask several queries. In each query, you can pick two integers l and r ( 1 <= q l <= q r <= q n ). In return, you will be given the value of max(a_l, a_{l+1}, ... , a_r) . In other words, you will be told the maximum value of the subarray from a_l to a_r . Find the minimum of the array. You can ask at most mathbf{624} queries. It is guaranteed that the values a_1, a_2, ... , a_n are chosen uniformly at random between 0 and 2^{32}-1 (inclusive). Begin the interaction by reading an integer n ( 1 <= n <= 10^4 ) on a separate line. To ask a query, print a line in the form texttt{?} ; ;l ; ;r ( 1 <= l <= r <= n ). Then you should read a single line containing the answer to your query. After you have determined the answer, print a line in the form texttt{!} ; ;x where x is the minimum value. After printing a query do not forget to output the end of line and flush the output. Otherwise, you will get Idleness limit exceeded. To do this, use: Answer texttt{-1} means that you made an invalid query. Exit immediately after receiving texttt{-1} and you will see Wrong answer verdict. Otherwise, you can get an arbitrary verdict because your solution will continue to read from a closed stream. '... |
Editorial of April Fools Day Contest 2023 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
200332627 | Hebu17 | H | April 2, 2023, 5:51 a.m. | OK | GNU C++14 | TESTS | 10 | 15 | 307200 | ||
200275882 | dorijanlendvaj | H | April 1, 2023, 4:23 p.m. | OK | GNU C++17 (64) | TESTS | 10 | 15 | 102400 | ||
200333117 | jtrh | H | April 2, 2023, 5:56 a.m. | OK | PyPy 3-64 | TESTS | 10 | 140 | 4198400 | ||
200283314 | pajenegod | H | April 1, 2023, 4:32 p.m. | OK | PyPy 3-64 | TESTS | 10 | 155 | 5734400 | ||
200327807 | H_a_r_M_i_t | H | April 2, 2023, 4:50 a.m. | OK | PyPy 3-64 | TESTS | 10 | 156 | 5836800 | ||
200329813 | anirbanb332 | H | April 2, 2023, 5:18 a.m. | OK | PyPy 3-64 | TESTS | 10 | 170 | 6860800 | ||
200320532 | Justin1 | H | April 2, 2023, 2:43 a.m. | OK | PyPy 3-64 | TESTS | 10 | 170 | 6860800 | ||
200274613 | conqueror_of_tourist | H | April 1, 2023, 4:21 p.m. | OK | PyPy 3-64 | TESTS | 10 | 187 | 5836800 | ||
200325723 | Kevin8502 | H | April 2, 2023, 4:16 a.m. | OK | Python 3 | TESTS | 10 | 93 | 1024000 | ||
200330018 | Hritik12 | H | April 2, 2023, 5:20 a.m. | OK | Python 3 | TESTS | 10 | 109 | 1024000 |
Back to search problems