Submission #274905

#TimeUsernameProblemLanguageResultExecution timeMemory
274905ec1117Cluedo (IOI10_cluedo)C++17
Compilation error
0 ms0 KiB
#include "bits/stdc++.h" using namespace std; int t; void solve() { int a=0; int b=0; int c=0; while(true){ int tmp=Theory(a,b,c); if(tmp==0){ break; } else if(tmp==1){ a++; } else if(tmp==2){ b++; } else{ c++; } } }

Compilation message (stderr)

cluedo.cpp: In function 'void solve()':
cluedo.cpp:10:17: error: 'Theory' was not declared in this scope
   10 |         int tmp=Theory(a,b,c);
      |                 ^~~~~~