Submission #957770

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