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;
void escape(int n)
{
int l=1,r=n;
while(r-l>1)
{
int mid=(l+r)/2;
if(jump(mid))
l=0,r-=mid;
else
l+=(n-mid),
r=n;
}
if(l)
jump(l);
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |