Submission #298842

# Submission time Handle Problem Language Result Execution time Memory
298842 2020-09-14T07:11:12 Z Ruba_K Lost in the cycle (IOI19_cycle) C++14
0 / 100
1 ms 256 KB
#include "cycle.h"
#include<bits/stdc++.h>
using namespace std ;
void escape(int n) {
    bool past = jump(0);

	while(true){
        bool ret = jump(1);
        if(ret == false && past == true){
            jump(n - 1);

            break;
        }
        past = ret ;

	}


}
# Verdict Execution time Memory Grader output
1 Correct 1 ms 256 KB Output is correct
2 Incorrect 1 ms 256 KB Too many queries.
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 256 KB Output is correct
2 Correct 1 ms 256 KB Output is correct
3 Correct 1 ms 256 KB Output is correct
4 Incorrect 1 ms 256 KB Too many queries.
5 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 256 KB Output is correct
2 Incorrect 1 ms 256 KB Too many queries.
3 Halted 0 ms 0 KB -