제출 #1198918

#제출 시각아이디문제언어결과실행 시간메모리
1198918argsxCluedo (IOI10_cluedo)C++20
컴파일 에러
0 ms0 KiB
#include<bits/stdc++.h> #include "cluedo.h" using namespace std; void solve(){ int a=1,b=1,c=1; int atb=1; while(atb!=0){ atb=Theory(a,b,c); if(atb==1)a++; if(atb==2)b++; if(atb==3)c++; } return ; }

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

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