제출 #1176491

#제출 시각아이디문제언어결과실행 시간메모리
1176491thanapatCluedo (IOI10_cluedo)C++20
컴파일 에러
0 ms0 KiB
void Solve(){ int a = 1, b = 1, c = 1, r; while(1 == 1){ r = Theory(a,b,c); if (r == 0) return; else if(r == 1){ a++; } else if(r == 2){ b++; } else if(r == 3){ c++; } } }

컴파일 시 표준 에러 (stderr) 메시지

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:5:13: error: 'Theory' was not declared in this scope
    5 |         r = Theory(a,b,c);
      |             ^~~~~~