| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1317880 | AMel0n | Lost in the cycle (IOI19_cycle) | C++20 | 0 ms | 332 KiB |
#include <bits/stdc++.h>
#include "cycle.h"
using namespace std;
void escape(int n){
// binary search on the first green (turning point)
int l = 0, r = n;
int pr = 0;
while(l < r - 1) {
int m = (l + r) / 2;
if (jump((m - pr + n) % n)) l = m;
else r = m;
pr = m;
}
jump((pr + n/2) % n);
return ;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
