# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
149762 | (παρα)γεμιστά (#200) | Crosses on the Grid (FXCUP4_cross) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "cross.h"
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++){
ans = max(ans, O[i]*O[i] - 2*O[i]*I[i] );
}
return ans;
}