Submission #1137260

#TimeUsernameProblemLanguageResultExecution timeMemory
1137260HasanV11010238Treasure Hunt (CEOI11_tre)C++20
Compilation error
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 */
}

Compilation message (stderr)

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