This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "cross.h"
using namespace std;
long long SelectCross(int K, vector<int> I, vector<int> O) {
int N = I.size();
long long mx = 0;
for(int i = 0; i < N; i++) {
mx = max(mx, 1LL*I[i]*(2*O[i]-I[i]));
}
return mx;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |