Submission #499132

# Submission time Handle Problem Language Result Execution time Memory
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;
        }
    }
}
# Verdict Execution time Memory 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 -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 200 KB The exit was not found.
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory 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 -