제출 #274905

#제출 시각아이디문제언어결과실행 시간메모리
274905ec1117Cluedo (IOI10_cluedo)C++17
컴파일 에러
0 ms0 KiB
#include "bits/stdc++.h" using namespace std; int t; void solve() { int a=0; int b=0; int c=0; while(true){ int tmp=Theory(a,b,c); if(tmp==0){ break; } else if(tmp==1){ a++; } else if(tmp==2){ b++; } else{ c++; } } }

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

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