제출 #1132225

#제출 시각아이디문제언어결과실행 시간메모리
1132225AMel0nLost in the cycle (IOI19_cycle)C++20
0 / 100
0 ms400 KiB
#include "cycle.h" void escape(int n) { if(n == 2) {jump(1); return;} if (!jump(0)) { jump(n/2); } int l = 0; int r = n; while (l != r -1 ) { int m = (l + r) / 2; if (jump(m)) l = m; else r = m; } jump(l); return; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...