# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1132208 | AMel0n | Lost in the cycle (IOI19_cycle) | C++20 | 0 ms | 396 KiB |
#include "cycle.h"
void escape(int n) {
n++;
if (!jump(0)) jump(n/2);
int l = 0; int r = n;
while (l != r -1) {
int m = (l + r) / 2;
if (jump(m)) l = m;
else r = m;
}
jump(l);
return;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |