| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 208642 | eriksuenderhauf | Lost in the cycle (IOI19_cycle) | C++17 | 14 ms | 424 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 "bits/stdc++.h"
#include "cycle.h"
using namespace std;
void escape(int n) {
int p = n/4 + 1;
bool check = jump(0);
while(p) {
check = jump(check ? p : (n-p)%n);
p = (p == 1 ? 0 : (p+1)/2);
}
if(!check) 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... | ||||
