제출 #288229

#제출 시각아이디문제언어결과실행 시간메모리
288229KastandaCluedo (IOI10_cluedo)C++11
컴파일 에러
0 ms0 KiB
#include<bits/stdc++.h>
#include "cluedo.h"
using namespace std;
void Solve()
{
    int P[3] = {1, 1, 1};
    int w = Theory(P[0], P[1], P[2]);
    while (w)
        P[w - 1] ++, w = Theory(P[0], P[1], P[2]);
}

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

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:7:13: error: 'Theory' was not declared in this scope
    7 |     int w = Theory(P[0], P[1], P[2]);
      |             ^~~~~~