제출 #520258

#제출 시각아이디문제언어결과실행 시간메모리
520258chinglamLost in the cycle (IOI19_cycle)C++14
컴파일 에러
0 ms0 KiB
void escape(int n){
  bool indicator = true;
  while(true){
    if(indicator == false && ((indicator = jump(1)) == true)) break;
  }
}

컴파일 시 표준 에러 (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;
      |                                            ^~~~