Submission #542101

#TimeUsernameProblemLanguageResultExecution timeMemory
542101AJ00Cluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; void Solve(){ int m = 1, l = 1, w = 1, verdict = -1; while(verdict != 0){ verdict = Theory(m,l,w); if (verdict == 1){ m++; } if (verdict == 2){ l++; } if (verdict == 3){ w++; } // cout << m << " " << l << " " << w << "\n"; } return; }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:6:19: error: 'Theory' was not declared in this scope
    6 |         verdict = Theory(m,l,w);
      |                   ^~~~~~