제출 #919038

#제출 시각아이디문제언어결과실행 시간메모리
919038Cutebol경주 (Race) (IOI11_race)C++17
컴파일 에러
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; }

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

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