Submission #1043137

#TimeUsernameProblemLanguageResultExecution timeMemory
1043137OkassaCluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#define ll long long
using namespace std ;
 
void Solve() {
    ll M=1,L=1,W=1 ;
    ll x ;

        while (true) {
        x=Theory(M,L,W) ;
        if (x==1) {
            M++ ;
        }else if (x==2) {
            L++ ;
        }else if (x==3) {
            W++ ;
        }else if (x==0) {
           return ;
        }
    }
    
}

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:9:11: error: 'Theory' was not declared in this scope
    9 |         x=Theory(M,L,W) ;
      |           ^~~~~~