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>
using namespace std;
using ll=long long;
void escape(int n) {
while(true){
if(jump(n/2))break;
}
ll jmp=1;
while(jmp*2<=n/2-1){
jmp*=2;
}
while(jmp){
if(!jump(jmp)){
jump(n-jmp);
}
jmp/=2;
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |