Submission #1132185

#TimeUsernameProblemLanguageResultExecution timeMemory
1132185bobthescienceCluedo (IOI10_cluedo)C++20
Compilation error
0 ms0 KiB
#include "grader.h" #include "cluedo.h" void solve() { int g[4] = {0, 1, 1, 1}, r = 1; while (r) { r = theory(g[1], g[2], g[3]); g[r]++; } }

Compilation message (stderr)

cluedo.cpp: In function 'void solve()':
cluedo.cpp:7:11: error: 'theory' was not declared in this scope; did you mean 'Theory'?
    7 |       r = theory(g[1], g[2], g[3]);
      |           ^~~~~~
      |           Theory