Submission #1249256

#TimeUsernameProblemLanguageResultExecution timeMemory
1249256AlmontherCluedo (IOI10_cluedo)C++20
Compilation error
0 ms0 KiB
void Solve(){
    int i=1,j=1,k=1,n;
    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:3:7: error: 'Theory' was not declared in this scope
    3 |     n=Theory(i,j,k);
      |       ^~~~~~