Submission #717605

#TimeUsernameProblemLanguageResultExecution timeMemory
717605EntityPlanttCluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
void Solve() { int a = 1, b = 1, c = 1; while (true) { switch(Theory(a, b, c)) { case 0: return; case 1: a++; break; case 2: b++; break; case 3: c++; break; } } }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:4:16: error: 'Theory' was not declared in this scope
    4 |         switch(Theory(a, b, c)) {
      |                ^~~~~~