Submission #149351

# Submission time Handle Problem Language Result Execution time Memory
149351 2019-09-01T06:18:30 Z (대충 적당한 팀명)(#3621, rose0310, cos18, baikdohyup) Crosses on the Grid (FXCUP4_cross) C++17
0 / 100
5 ms 384 KB
#include "cross.h"

long long SelectCross(int K, std::vector<int> I, std::vector<int> O) {
	int N = I.size();
	long long maxsize = 0;
	for(int i=0;i<N;i++){
		long long now = O[i]*O[i] - (O[i]-I[i])*(O[i]-I[i]);
		maxsize = (maxsize>now)?maxsize:now;
	}
	return maxsize;
}
# 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 -