Submission #715495

#TimeUsernameProblemLanguageResultExecution timeMemory
715495vjudge1Cluedo (IOI10_cluedo)C++17
Compilation error
0 ms0 KiB
#include "grader.h" #include "cluedo.h" void Solve(){ int a[4] = {1, 1, 1, 1}, x; do { x = Theory(a, b, c); a[x]++; } while (x); }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:8:21: error: 'b' was not declared in this scope
    8 |       x = Theory(a, b, c);
      |                     ^
cluedo.cpp:8:24: error: 'c' was not declared in this scope
    8 |       x = Theory(a, b, c);
      |                        ^