Submission #1083821

#TimeUsernameProblemLanguageResultExecution timeMemory
1083821AliHasanliLost in the cycle (IOI19_cycle)C++17
100 / 100
1 ms416 KiB
#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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...