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 rem=0;
for(int i = n/2 ; i >= 1 ; i/=2) {
if(!jump(i + rem)) {
rem = n - i;
} else rem=0;
}
if(rem) jump(rem);
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |