Submission #345643

#TimeUsernameProblemLanguageResultExecution timeMemory
345643izhang05Cluedo (IOI10_cluedo)C++17
Compilation error
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

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