Submission #490243

# Submission time Handle Problem Language Result Execution time Memory
490243 2021-11-26T14:48:38 Z PiejanVDC Lost in the cycle (IOI19_cycle) C++17
0 / 100
1 ms 220 KB
#include <bits/stdc++.h>
#include "cycle.h"
using namespace std;
void escape(int n) {
    int rem=0;
    for(int i = n/2 ; i >= 1 ; i/=2) {
        if(!jump(i + rem)) {
            rem = n - i;
        } else rem=0;
    }
    if(rem) jump(rem);
}
# Verdict Execution time Memory Grader output
1 Correct 1 ms 200 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 220 KB The exit was not found.
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 200 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 -