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;
typedef long long lld;
lld SelectCross(int N, int K, vector<int> I, vector<int> O) {
lld mx=0;
for(int i=0; i<N; i++){
if(mx < 2*I[i]*O[i]-I[i]*I[i]) mx = 2*I[i]*O[i]-I[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... |