Submission #1099347

#TimeUsernameProblemLanguageResultExecution timeMemory
1099347mihaihvhCluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#include <stdio.h> #include <stdlib.h> #include <string.h> void Solve() { int i = 1, j = 1, k = 1; int m = Theory(i, j, k); do { if (m == 1) ++i; if (m == 2) ++j; if (m == 3) ++k; m = Theory(i, j, k); } while (m != 0); return; }

Compilation message (stderr)

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