Submission #964540

#TimeUsernameProblemLanguageResultExecution timeMemory
964540UmairAhmadMirzaCluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include <cluedo.h> using namespace std; void Solve() { int i=1,j=1,k=1; while(1){ int v=Theory(i,j,k); if(v==3) k++; else if(v==2) j++; else if(v==1) i++; else{ break; } } return; }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:8:13: error: 'Theory' was not declared in this scope
    8 |       int v=Theory(i,j,k);
      |             ^~~~~~