제출 #989838

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

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

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