제출 #356442

#제출 시각아이디문제언어결과실행 시간메모리
356442MefarnisCluedo (IOI10_cluedo)C++14
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h>
#include "cluedo.h"
// #include "grader.h"
using namespace std;

void Solve() {
	int ar[3] = {1,1,1};
	int res = Theory(ar[0],ar[1],ar[2]);
	while(res != 0) {
		ar[res-1]++;
		res = Theory(ar[0],ar[1],ar[2]);
	}
}

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

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:8:12: error: 'Theory' was not declared in this scope
    8 |  int res = Theory(ar[0],ar[1],ar[2]);
      |            ^~~~~~