Submission #569382

#TimeUsernameProblemLanguageResultExecution timeMemory
569382Aurora2005Cluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#include<bits/stdc++.h> using namespace std; void Solve(){ int a=1,b=1,c=1; for(;;){ int t = Theory(a,b,c); if(t == 0) break; else if(t == 1) a++; else if(t == 2) b++; else c++; } return; }

Compilation message (stderr)

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