제출 #988883

#제출 시각아이디문제언어결과실행 시간메모리
988883lo0kerCluedo (IOI10_cluedo)C++17
컴파일 에러
0 ms0 KiB
/* * AUTHOR : lo0ker * Problem : Cluedo * source : https://dmoj.ca/problem/ioi10p1 */ #include <bits/stdc++.h> using namespace std; #define sz(v) ((int)(v).size) #define all(v) (v).begin(), (v).end() using ll = long long; using pii = pair<int, int>; using vi = vector<int>; void Solve(){ int a = 1, b = 1, c = 1; while(true){ int r = Theory(a, b, c); if(r == 1) a++; else if(r == 2) b++; else if(r == 3) c++; else return; } }

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

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:20:13: error: 'Theory' was not declared in this scope
   20 |     int r = Theory(a, b, c);
      |             ^~~~~~