Submission #800778

# Submission time Handle Problem Language Result Execution time Memory
800778 2023-08-01T20:38:24 Z Liudas Horses (IOI15_horses) C++17
Compilation error
0 ms 0 KB
#include <bits/stdc++.h>
#include "horses.h"
#include "grader.h"
using namespace std;
int init(int N, vector<int> X, vector<int> Y){
    int ans = 0;
    for(int i = 0; i < N; i ++){
        if(i){
            X[i] *= X[i-1];
        }
        ans = max(ans, X[i]*Y[i]);
    }
    return i;
}
int updateX(int pos, int val){
    return 0;
}
int updateY(int pos, int val){
    return 0;
}

Compilation message

horses.cpp:3:10: fatal error: grader.h: No such file or directory
    3 | #include "grader.h"
      |          ^~~~~~~~~~
compilation terminated.