Submission #989949

#TimeUsernameProblemLanguageResultExecution timeMemory
989949the_coding_poohCluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #define uwu return 0; using namespace std; void Solve(){ queue <int> q[4]; for (int i = 1; i <= 6; i++){ q[1].push(i); } for (int i = 1; i <= 10; i++){ q[2].push(i); } for (int i = 1; i <= 6; i++){ q[3].push(i); } int ret; while (ret = Theory(q[1].front(), q[2].front(), q[3].front())){ q[ret].pop(); } return; }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:18:18: error: 'Theory' was not declared in this scope
   18 |     while (ret = Theory(q[1].front(), q[2].front(), q[3].front())){
      |                  ^~~~~~