Submission #1311175

#TimeUsernameProblemLanguageResultExecution timeMemory
1311175pwalCluedo (IOI10_cluedo)C++20
Compilation error
0 ms0 KiB
void Solve() { int m=1,l=1,w=1; int res=Theory(m,l,w); while(res!=0) { if(res==1)++m; else if(res==2)++l; else ++w; res=Theory(m,l,w); } }

Compilation message (stderr)

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