Submission #474028

#TimeUsernameProblemLanguageResultExecution timeMemory
474028ValiAntonieCluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
 
void Solve(){
   int r, a = 1, b = 1, c= 1;
   r = Theory(a,b,c);
   while(r){
   while(r == 1){
   a++;
   r = Theory(a,b,c); 
   }
   while(r == 2){
   b++;
   r = Theory(a,b,c);
   }
   while(r == 3){
    c++;
   r = Theory(a,b,c);
   }
   }
   return;
}

Compilation message (stderr)

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