Submission #372865

#TimeUsernameProblemLanguageResultExecution timeMemory
372865apostoldaniel854Cluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include "cluedo.h" using namespace std; void Solve () { vector <int> freq (3); for (int i = 0; i < 20; i++) { int ans = Theory (freq[0], freq[1], freq[2]); if (ans == 0) return; freq[ans - 1]++; } }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:8:19: error: 'Theory' was not declared in this scope
    8 |         int ans = Theory (freq[0], freq[1], freq[2]);
      |                   ^~~~~~