Submission #356442

#TimeUsernameProblemLanguageResultExecution timeMemory
356442MefarnisCluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include "cluedo.h" // #include "grader.h" using namespace std; void Solve() { int ar[3] = {1,1,1}; int res = Theory(ar[0],ar[1],ar[2]); while(res != 0) { ar[res-1]++; res = Theory(ar[0],ar[1],ar[2]); } }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:8:12: error: 'Theory' was not declared in this scope
    8 |  int res = Theory(ar[0],ar[1],ar[2]);
      |            ^~~~~~