제출 #1024626

#제출 시각아이디문제언어결과실행 시간메모리
1024626vjudge1Cluedo (IOI10_cluedo)C++11
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; void Solve() { int i,j,k, res; i = 0; j = 0; k = 0; while(res = theory(i, j, k)) { if (res == 1) i++; else if (res == 3) k++; else j++; } } int main() { return 0; }

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

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:14:14: error: 'theory' was not declared in this scope
   14 |  while(res = theory(i, j, k)) {
      |              ^~~~~~