Submission #831995

#TimeUsernameProblemLanguageResultExecution timeMemory
831995Diana10BelloLost in the cycle (IOI19_cycle)C++14
11 / 100
1 ms272 KiB
#include "cycle.h" #include <bits/stdc++.h> using namespace std; void escape(int n) { if(n==2){ jump(1); return; } 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); } break; } } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...