Submission #737065

#TimeUsernameProblemLanguageResultExecution timeMemory
737065sandry24Cluedo (IOI10_cluedo)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include "cluedo.h" using namespace std; #pragma GCC optimize("O3,unroll-loops") #pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") typedef long long ll; typedef vector<int> vi; typedef pair<int, int> pi; #define pb push_back #define mp make_pair #define f first #define s second void Solve(){ int ask[3] = {1, 1, 1}; while(true){ int ans = Theory(ask[0], ask[1], ask[2]); if(ans == 0) break; ask[ans-1]++; } return; }

Compilation message (stderr)

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