제출 #696454

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

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

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