Submission #234188

#TimeUsernameProblemLanguageResultExecution timeMemory
234188celesteHorses (IOI15_horses)C++14
Compilation error
0 ms0 KiB
#include "horses.h"
#include <algorthm>

 using namespace std;
 
int init(int N, int X[], int Y[]) {
	int V[N];
	V[0]=X[0];
	for( int i=1; i<N; i++){
		V[i]=V[i-1]*X[i];
		int mx=0;
		for (int i=0; i<N i++){
			mx=max(mx, V[i]*Y[i]);
		}
	}
	return mx;
}

Compilation message (stderr)

horses.cpp:2:10: fatal error: algorthm: No such file or directory
 #include <algorthm>
          ^~~~~~~~~~
compilation terminated.