Submission #919038

#TimeUsernameProblemLanguageResultExecution timeMemory
919038CutebolRace (IOI11_race)C++17
Compilation error
0 ms0 KiB
#include "race.cpp" #include <stdio.h> #include <stdlib.h> #define MAX_N 500000 static int N, K; static int H[MAX_N][2]; static int L[MAX_N]; static int solution; inline void my_assert(int e) {if (!e) abort();} void read_input() { int i; my_assert(2==scanf("%d %d",&N,&K)); for(i=0; i<N-1; i++) my_assert(3==scanf("%d %d %d",&H[i][0],&H[i][1],&L[i])); my_assert(1==scanf("%d",&solution)); } int main() { int ans; read_input(); ans = best_path(N,K,H,L); if(ans==solution) printf("Correct.\n"); else printf("Incorrect. Returned %d, Expected %d.\n",ans,solution); return 0; }

Compilation message (stderr)

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