제출 #1215158

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

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

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