Submission #535132

#TimeUsernameProblemLanguageResultExecution timeMemory
535132cig32Cluedo (IOI10_cluedo)C++17
Compilation error
0 ms0 KiB
#include "cluedo.h" #include "bits/stdc++.h" using namespace std; void Solve(){ int x=1,y=1,z=1; while(x<=6 && y<=10 && z<=6){ int ret=Theory(x,y,z); if(ret==0)break; if(ret==1)x++; else if(ret==2)y++; else z++; } return; }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:8:13: error: 'Theory' was not declared in this scope
    8 |     int ret=Theory(x,y,z);
      |             ^~~~~~