제출 #964540

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

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

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:8:13: error: 'Theory' was not declared in this scope
    8 |       int v=Theory(i,j,k);
      |             ^~~~~~