제출 #1024623

#제출 시각아이디문제언어결과실행 시간메모리
1024623vjudge1Cluedo (IOI10_cluedo)C++11
컴파일 에러
0 ms0 KiB

#include <bits/stdc++.h>

using namespace std;

void Solve()
{
	int i,j,k, res;

	i = 0;
	j = 0;
	k = 0;

	while(res = Theory(i, j, k)) {
		if (res == 1) i++;
		else if (res == 3) k++;
		else j++;
	}
}

int main() {

	return 0;
}

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

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:14:14: error: 'Theory' was not declared in this scope
   14 |  while(res = Theory(i, j, k)) {
      |              ^~~~~~