Submission #488486

#TimeUsernameProblemLanguageResultExecution timeMemory
488486M_WCluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include "cluedo.h" using namespace std; void Solve(){ int a = 1, b = 1, c = 1; while(true){ int k = Theory(a, b, c); if(k == 0) return; if(k == 1) a++; if(k == 2) b++; if(k == 3) c++; } }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:7:11: error: 'Theory' was not declared in this scope
    7 |   int k = Theory(a, b, c);
      |           ^~~~~~