제출 #1345028

#제출 시각아이디문제언어결과실행 시간메모리
1345028nanaseyuzukiCluedo (IOI10_cluedo)C++20
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h>
#include "cluedo.h"
#define ll long long
#define fi first
#define se second
#define pii pair<int, int>
#define all(a) a.begin(), a.end()
using namespace std;

#ifdef LOCAL
#include "C:\Users\Dell\Downloads\template\template\icpc-notebook\Utilities\debug.h"
#else
#define debug(...) 42
#endif

const int mn = 5e5 + 5, mod = 1e9 + 7, inf = 2e9;

void Solve() {
    for(int m = 1; m <= 6; m++) {
    	for(int l = 1; l <= 10; l++) {
    		for(int w = 1; w <= 6; w++) {
    			if(Theory(m, l, w) == 0) return;
    		}
    	}
    }
}
// Don't wanna lose anymore T_T
// Never let me go - Kazuo Ishiguro

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

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:22:28: error: 'Theory' was not declared in this scope
   22 |                         if(Theory(m, l, w) == 0) return;
      |                            ^~~~~~