Submission #520262

# Submission time Handle Problem Language Result Execution time Memory
520262 2022-01-29T04:14:05 Z chinglam Lost in the cycle (IOI19_cycle) C++17
0 / 100
1 ms 272 KB
bool jump(int x);
 
void escape(int n){
  bool indicator = false;
  while(true){
    bool old_indicator = indicator;
    indicator = jump(1);
    if(old_indicator == true && indicator == false) break;
  }
  jump(n-1);
}
# Verdict Execution time Memory Grader output
1 Correct 0 ms 200 KB Output is correct
2 Incorrect 1 ms 200 KB Too many queries.
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 0 ms 256 KB Output is correct
2 Correct 0 ms 200 KB Output is correct
3 Correct 0 ms 200 KB Output is correct
4 Incorrect 1 ms 272 KB Too many queries.
5 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 0 ms 200 KB Output is correct
2 Incorrect 1 ms 200 KB Too many queries.
3 Halted 0 ms 0 KB -