Submission #149351

#TimeUsernameProblemLanguageResultExecution timeMemory
149351(대충 적당한 팀명) (#200)Crosses on the Grid (FXCUP4_cross)C++17
0 / 100
5 ms384 KiB
#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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...