Submission #545593

#TimeUsernameProblemLanguageResultExecution timeMemory
545593sebalejandro601Cluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#include "grader.h" #include "cluedo.h" #include<bits/stdc++.h> using namespace std; void Solve(){ int r; int i=1,j=1,k=1; r=theory(i,j,k); while(r!=0) { if(r==1) i++; else if(r==2)j++; else if(r==3)k++; r=theory(i,j,k); } if(r==0) return; }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:8:7: error: 'theory' was not declared in this scope; did you mean 'Theory'?
    8 |     r=theory(i,j,k);
      |       ^~~~~~
      |       Theory