답안 #956593

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
956593 2024-04-02T08:01:52 Z DeltaStruct Cluedo (IOI10_cluedo) C++17
컴파일 오류
0 ms 0 KB
#include "cluedo.h"
#include <bits/stdc++.h>
using namespace std;

void Solve(){
  vector<int> A(3,1); int r; do { r = Theory(A[0],A[1],A[2]); if (r) ++A[r-1]; } while(r);
}

Compilation message

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:6:39: error: 'Theory' was not declared in this scope
    6 |   vector<int> A(3,1); int r; do { r = Theory(A[0],A[1],A[2]); if (r) ++A[r-1]; } while(r);
      |                                       ^~~~~~