제출 #535132

#제출 시각아이디문제언어결과실행 시간메모리
535132cig32Cluedo (IOI10_cluedo)C++17
컴파일 에러
0 ms0 KiB
#include "cluedo.h" #include "bits/stdc++.h" using namespace std; void Solve(){ int x=1,y=1,z=1; while(x<=6 && y<=10 && z<=6){ int ret=Theory(x,y,z); if(ret==0)break; if(ret==1)x++; else if(ret==2)y++; else z++; } return; }

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

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:8:13: error: 'Theory' was not declared in this scope
    8 |     int ret=Theory(x,y,z);
      |             ^~~~~~