제출 #1162848

#제출 시각아이디문제언어결과실행 시간메모리
1162848tsengang경주 (Race) (IOI11_race)C++17
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> #include "race.h" using namespace std; #define ll int #define ff first #define ss second #define all(x) (x).begin(), (x).end() #define pb push_back #define ertunt return #define vodka void #include "shoes.h" int best_path(int N,int K,int H[][2],int L[]){ int pre[N+1]; pre[0] = 0; for(ll i = 1; i < N; i++){ pre[i] = pre[i-1]; pre[i] += L[i-1]; } int ans = 1e19; for(ll i = 0; i < N; i++){ for(ll j = i; j < N; j++){ if(pre[j]-pre[i] == K){ ans = min(ans,j-i); } } } ertunt ans; }

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

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