Submission #989950

#TimeUsernameProblemLanguageResultExecution timeMemory
989950the_coding_poohCluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>
#include "cluedo.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:19:18: error: 'Theory' was not declared in this scope
   19 |     while (ret = Theory(q[1].front(), q[2].front(), q[3].front())){
      |                  ^~~~~~