답안 #976243

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
976243 2024-05-06T10:47:12 Z HappyCapybara Lost in the cycle (IOI19_cycle) C++17
0 / 100
0 ms 596 KB
#include "cycle.h"
#include<bits/stdc++.h>
using namespace std;

void escape(int n){
    int l=0, r=n;
    int cur = 0;
    while (l < r-1){
        int m = (l+r)/2;
        if (jump((m-cur+n)%n)) l = m;
        else r = m;
    }
    jump((l-cur+n)%n);
    return;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 344 KB The exit was not found.
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 596 KB The exit was not found.
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 344 KB The exit was not found.
2 Halted 0 ms 0 KB -