제출 #96396

#제출 시각아이디문제언어결과실행 시간메모리
96396mohammadRace (IOI11_race)C++14
컴파일 에러
0 ms0 KiB
#include "ricehub.h"
#include "iostream"
#include "vector"
#include "map"
#include "math.h"
#include "string"
#include "algorithm"
#include "set"
#include <iterator>
#include <string.h>
#include <queue>
#include <list>

using namespace	std;

typedef long long ll ;
const ll M = 998244353  ;
const ll oo = 1e13 ;

int cost[100010];

int besthub(int R, int L, int X[], long long B){
	int ans = 1 ;
	for(int i = 1 ; i < R ; ++i){
		cost[i] = X[i] - X[i - 1] ;
	}
	int co = 1 ;
	ll c = 0 ;
	for(int i = 0 ; i < R - 1 ; ++i){
		c += cost[i];
		if(c > B){
			ans = max(ans , co);
			c = cost[i] ;
			co = 1 ;
			if(c > B){
				ans = max(ans , co);
				c = 0 ;
				co = 0 ;
			}
		}
		co++;
	}
	ans = max(ans , co);
	return ans;
}

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

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