제출 #410726

#제출 시각아이디문제언어결과실행 시간메모리
410726BertedCluedo (IOI10_cluedo)C++14
컴파일 에러
0 ms0 KiB
#include "cluedo.h"

int T[3];

void Solve()
{
	T[0] = T[1] = T[2] = 1;
	int ans = Theory(T[0], T[1], T[2]);
	while (ans)
	{
		T[ans - 1]++;
		ans = Theory(T[0], T[1], T[2]);
	}
}

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

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