Submission #113612

# Submission time Handle Problem Language Result Execution time Memory
113612 2019-05-27T06:15:23 Z imsifile Crosses on the Grid (FXCUP4_cross) C++17
0 / 100
2 ms 256 KB
#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 -