제출 #488486

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

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

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