Submission #1070249

#TimeUsernameProblemLanguageResultExecution timeMemory
10702497againLost in the cycle (IOI19_cycle)C++17
100 / 100
1 ms412 KiB
#include "cycle.h" #include <bits/stdc++.h> using namespace std; void escape(int n) { int l = 0 , r = n ; int prv = 0 ; while(l + 1 < r){ int m = (l + r) / 2; if(jump((m - prv + n) % n)){ l = m ; }else{ r = m ; } prv = m ; } jump((l - prv + n) % n) ; return ; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...