제출 #1220685

#제출 시각아이디문제언어결과실행 시간메모리
1220685FaresSTHCluedo (IOI10_cluedo)C++20
컴파일 에러
0 ms0 KiB
#include"bits/stdc++.h"
#include"cluedo.h"
using namespace std;
using ll=long long;
#define S second
#define F first
void Solve(){
       int c[3]={1,1,1};
       while(1){
              int v=Theory(c[0],c[1],c[2]);
              if(v==0)return;
              c[v-1]++;
       }
}

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

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:10:21: error: 'Theory' was not declared in this scope
   10 |               int v=Theory(c[0],c[1],c[2]);
      |                     ^~~~~~