Submission #1011578

#TimeUsernameProblemLanguageResultExecution timeMemory
1011578SulACluedo (IOI10_cluedo)C++17
Compilation error
0 ms0 KiB
#include "cluedo.h" using namespace std; void Solve() { unsigned char a[3] = {1,1,1}, x; while (x = Theory(a[0], a[1], a[2])) a[x-1]++; }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:6:16: error: 'Theory' was not declared in this scope
    6 |     while (x = Theory(a[0], a[1], a[2]))
      |                ^~~~~~