Submission #520258

# Submission time Handle Problem Language Result Execution time Memory
520258 2022-01-29T04:04:03 Z chinglam Lost in the cycle (IOI19_cycle) C++14
Compilation error
0 ms 0 KB
void escape(int n){
  bool indicator = true;
  while(true){
    if(indicator == false && ((indicator = jump(1)) == true)) break;
  }
}

Compilation message

cycle.cpp: In function 'void escape(int)':
cycle.cpp:4:44: error: 'jump' was not declared in this scope
    4 |     if(indicator == false && ((indicator = jump(1)) == true)) break;
      |                                            ^~~~