제출 #1043136

#제출 시각아이디문제언어결과실행 시간메모리
1043136OkassaCluedo (IOI10_cluedo)C++14
컴파일 에러
0 ms0 KiB
#include <iostream> #define ll long long using namespace std ; void Solve() { ll M=1,L=1,W=1 ; ll x ; while (true) { x=Theory(M,L,W) ; if (x==1) { M++ ; }else if (x==2) { L++ ; }else if (x==3) { W++ ; }else if (x==0) { return ; } } }

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

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:10:11: error: 'Theory' was not declared in this scope
   10 |         x=Theory(M,L,W) ;
      |           ^~~~~~