Submission #149779

# Submission time Handle Problem Language Result Execution time Memory
149779 2019-09-01T07:09:22 Z (παρα)γεμιστά(#3619, cfalas, ctziapo, Charis02) Crosses on the Grid (FXCUP4_cross) C++17
0 / 100
5 ms 384 KB
#include "cross.h"
#include<bits/stdc++.h>
using namespace std;

long long SelectCross(int K, std::vector<int> I, std::vector<int> O) {
	int N = I.size();
	long long ans=0;
	for(int i=0;i<N;i++){
		long long o=O[i];
		long long j = I[i];
		ans = max(ans, o*o - 2*o*j + j*j);
	}

	return ans;
}
# Verdict Execution time Memory Grader output
1 Incorrect 5 ms 384 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 5 ms 384 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 5 ms 384 KB Output isn't correct
2 Halted 0 ms 0 KB -