Submission #1215158

#TimeUsernameProblemLanguageResultExecution timeMemory
1215158porquenomedejainiciarsesionCluedo (IOI10_cluedo)C++20
Compilation error
0 ms0 KiB
void Solve(){
    int a=1,b=1,c=1;
    int xd=Theory(a,b,c);
    while(xd!=0){
        if(xd==3){
            a++;
        }else if(xd==2){
            b++;
        }else{
            c++;
        }
        xd=Theory(a,b,c);
    }
    
}

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:3:12: error: 'Theory' was not declared in this scope
    3 |     int xd=Theory(a,b,c);
      |            ^~~~~~