Submission #816388

#TimeUsernameProblemLanguageResultExecution timeMemory
816388Diana10BelloLost in the cycle (IOI19_cycle)C++14
0 / 100
1 ms256 KiB
#include "cycle.h" #include <bits/stdc++.h> void escape(int n) { if(jump(0)){ while(true){ if(!jump(1)){ jump(n-1); break; } } } else{ while(true){ if(jump(1)){ if(n%2 != 0){ jump(n/2); } else{ jump(n/2-1); } } } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...