제출 #989949

#제출 시각아이디문제언어결과실행 시간메모리
989949the_coding_poohCluedo (IOI10_cluedo)C++14
컴파일 에러
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;
}

컴파일 시 표준 에러 (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())){
      |                  ^~~~~~