Submission #1220685

#TimeUsernameProblemLanguageResultExecution timeMemory
1220685FaresSTHCluedo (IOI10_cluedo)C++20
Compilation error
0 ms0 KiB
#include"bits/stdc++.h" #include"cluedo.h" using namespace std; using ll=long long; #define S second #define F first void Solve(){ int c[3]={1,1,1}; while(1){ int v=Theory(c[0],c[1],c[2]); if(v==0)return; c[v-1]++; } }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:10:21: error: 'Theory' was not declared in this scope
   10 |               int v=Theory(c[0],c[1],c[2]);
      |                     ^~~~~~