제출 #345643

#제출 시각아이디문제언어결과실행 시간메모리
345643izhang05Cluedo (IOI10_cluedo)C++17
컴파일 에러
0 ms0 KiB
#ifndef DEBUG
#include <cluedo.h>
#endif

#include <bits/stdc++.h>

using namespace std;

void Solve() {
    for (int i = 0; i < 6; ++i) {
        for (int j = 0; j < 10; ++j) {
            for (int k = 0; k < 6; ++k) {
                if (!Theory(i + 1, j + 1, k + 1)) {
                    return;
                }
            }
        }
    }
}

#ifdef DEBUG
int main() {
}
#endif

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

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:13:22: error: 'Theory' was not declared in this scope
   13 |                 if (!Theory(i + 1, j + 1, k + 1)) {
      |                      ^~~~~~