Submission #542107

#TimeUsernameProblemLanguageResultExecution timeMemory
542107starchanCluedo (IOI10_cluedo)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include "cluedo.h" using namespace std; #define in pair<int, int> #define f first #define s second #define pb push_back #define pob pop_back #define INF 1e17 #define zero (int)0 #define MX (int)3e5+5 #define fast() ios_base::sync_with_stdio(false); cin.tie(NULL); const int mod = 1e9+7; //may change to that 99.. number. void Solve() { int ok[3]; ok[0]=ok[1]=ok[2]=1; while(true) { int hi = Theory(ok[0], ok[1], ok[2]); if(hi == 0) break; ok[hi-1]++; } return; }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:20:12: error: 'Theory' was not declared in this scope
   20 |   int hi = Theory(ok[0], ok[1], ok[2]);
      |            ^~~~~~