| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 255460 | themax23 | Lost in the cycle (IOI19_cycle) | C++17 | 1 ms | 256 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "cycle.h"
#include <bits/stdc++.h>
void escape(int n) {
int x = n/2;
bool ok = jump(0);
while(x > 0){
if(ok) ok = jump(x);
else ok = jump(n - x);
if(x == 1) break;
x = (x+1) / 2;
}
if(!ok) jump(n-1);
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
