제출 #1137260

#제출 시각아이디문제언어결과실행 시간메모리
1137260HasanV11010238Treasure Hunt (CEOI11_tre)C++20
컴파일 에러
0 ms0 KiB
#include "treinc.h"
int current_point;

void init()
{
  current_point = 1;
}


void path(int a, int s)
{
  current_point += s;
}


int dig(int a, int b)
{
  return (a + b + current_point) / 3;  /* something stupid */
}

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

Main.cpp:1:10: fatal error: treinc.h: No such file or directory
    1 | #include "treinc.h"
      |          ^~~~~~~~~~
compilation terminated.