#include <bits/stdc++.h>
#include "horses.h"
using namespace std;
int init(int n, int x[], int y[]) {
int h = 1;
int ans = 0;
for(int i = 0; i < n; i++){
h *= x[i];
ans = max(ans , (h * y[i]));
}
return ans;
}
int updateX(int pos, int val) {
return 0;
}
int updateY(int pos, int val) {
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |