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 < (lld)I[i]*(2*O[i]-I[i])) mx = (lld)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... |