Submission #520258

#TimeUsernameProblemLanguageResultExecution timeMemory
520258chinglamLost in the cycle (IOI19_cycle)C++14
Compilation error
0 ms0 KiB
void escape(int n){ bool indicator = true; while(true){ if(indicator == false && ((indicator = jump(1)) == true)) break; } }

Compilation message (stderr)

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;
      |                                            ^~~~