Submission #255746

#TimeUsernameProblemLanguageResultExecution timeMemory
255746cjoaLost in the cycle (IOI19_cycle)C++17
0 / 100
1 ms256 KiB
#include "cycle.h" #include <cstdio> #include <cassert> void escape(int n) { if ( jump(0) ) { // estoy del lado derecho de la mitad while ( jump(1) == true ); jump( n-1 ); } else { // estoy del lado izquierdo de la mitad while ( jump(1) == false ) ; jump( n/2 ); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...