Submission #1249253

#TimeUsernameProblemLanguageResultExecution timeMemory
1249253AlmontherCluedo (IOI10_cluedo)C++20
Compilation error
0 ms0 KiB
void solve(){ int i=1,j=1,k=1,inp; inp=Theory(i,j,k); while(!inp){ if(inp==1) i++; else if(inp==2) j++; else k++; inp=Theory(i,j,k); } }

Compilation message (stderr)

cluedo.cpp: In function 'void solve()':
cluedo.cpp:3:9: error: 'Theory' was not declared in this scope
    3 |     inp=Theory(i,j,k);
      |         ^~~~~~