# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1176590 | adkjt | Lost in the cycle (IOI19_cycle) | C++20 | 0 ms | 408 KiB |
#include "cycle.h"
#include<bits/stdc++.h>
using namespace std;
void escape(int n) {
int r=n/2;
bool x=jump(r);//cout<<r<<' '<<x<<'\n';
r/=2;
while(r>0)
{//cout<<r<<' '<<x<<'\n';
if(x) x=jump(r);
else x=jump(n-r);
r/=2;
}
if(!x) jump(n-1);
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |