#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 |
1 |
Incorrect |
2 ms |
256 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
2 ms |
256 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
2 ms |
256 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |