Submission #1132165

#TimeUsernameProblemLanguageResultExecution timeMemory
1132165figglesCluedo (IOI10_cluedo)C++20
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> void Solve() { for (int i = 1; i <= 6; ++i) { for (int j = 1; j <= 10; ++j) { for (int k = 1; k <= 6; ++k) { int r = Theory(i, j, k); if (r == 0) return; } } } }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:7:17: error: 'Theory' was not declared in this scope
    7 |         int r = Theory(i, j, k);
      |                 ^~~~~~