답안 #499132

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
499132 2021-12-27T09:28:47 Z LouayFarah Lost in the cycle (IOI19_cycle) C++14
0 / 100
1 ms 272 KB
#include "bits/stdc++.h"
#include "cycle.h"

using namespace std;

#define endl "\n"
#define ll long long int
#define pb push_back
#define mp make_pair
#define fi first
#define se second

const long long MOD = 1e9+7;
const long long INF = 1e18;

int nx[4] = {0, 0, -1, 1};
int ny[4] = {1, -1, 0, 0};


bool jumb(int x);

void escape(int n)
{
    ll curr = n/2;
    while(curr>0)
    {
        bool ans = jump(n/2);
        if(ans)
        {
            curr/=2;
        }
    }
}
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 272 KB Output is correct
2 Correct 0 ms 200 KB Output is correct
3 Incorrect 1 ms 200 KB The exit was not found.
4 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 200 KB The exit was not found.
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 272 KB Output is correct
2 Correct 0 ms 200 KB Output is correct
3 Incorrect 1 ms 200 KB The exit was not found.
4 Halted 0 ms 0 KB -