Submission #1249257

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

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:2:23: error: 'Theory' was not declared in this scope
    2 |     int i=1,j=1,k=1,n=Theory(i,j,k);
      |                       ^~~~~~