제출 #595239

#제출 시각아이디문제언어결과실행 시간메모리
595239SlyGaleebCluedo (IOI10_cluedo)C++17
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define ld long double #define F first #define S second int theory (int a, int b, int c); 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; } } } /*int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); }*/

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

cluedo.cpp: In function 'void solve()':
cluedo.cpp:14:9: error: 'Theory' was not declared in this scope; did you mean 'theory'?
   14 |     if (Theory(i,j,k)==0)
      |         ^~~~~~
      |         theory