Submission #345643

# Submission time Handle Problem Language Result Execution time Memory
345643 2021-01-07T18:13:57 Z izhang05 Cluedo (IOI10_cluedo) C++17
Compilation error
0 ms 0 KB
#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

Compilation message

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)) {
      |                      ^~~~~~