This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
// incorrect/cycle-bk-power-two.cpp
#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 /= 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... |