제출 #1130292

#제출 시각아이디문제언어결과실행 시간메모리
1130292sohamsen15Cluedo (IOI10_cluedo)C++20
컴파일 에러
0 ms0 KiB
#pragma GCC optimize("O3,unroll-loops")
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int INF = 999999;

void Solve() {
    for (int i = 1; i <= 6; i++)
        for (int j = 1; j <= 10; j++)
            for (int k = 1; k <= 6; k++)
                if (Theory(i, j, k) == 0)
                    return;
}

컴파일 시 표준 에러 (stderr) 메시지

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:11:21: error: 'Theory' was not declared in this scope
   11 |                 if (Theory(i, j, k) == 0)
      |                     ^~~~~~