제출 #1238028

#제출 시각아이디문제언어결과실행 시간메모리
1238028ema_nicoleCluedo (IOI10_cluedo)C++17
컴파일 에러
0 ms0 KiB
#include <iostream>
#include <vector>
#include <cluedo.h>
#include <grader.h>

using namespace std;

extern int theory(int om, int room, int weapon);

void solve() {
    int om = 1, room = 1, weapon = 1;
    while(1) {
        int nr = theory(om, room, weapon);
        //cout << om << " " << room << " " << weapon << "  " << nr << '\n';
        if(!nr)
            return;
        if(nr == 1) ///om gresit
            om++;
        else if(nr == 2) ///camera gresita
            room++;
        else if(nr == 3) ///weapon gresit
            weapon++;
    }
}

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

cluedo.cpp:3:10: fatal error: cluedo.h: No such file or directory
    3 | #include <cluedo.h>
      |          ^~~~~~~~~~
compilation terminated.