Submission #150858

#TimeUsernameProblemLanguageResultExecution timeMemory
150858모현보유국 (#200)Crosses on the Grid (FXCUP4_cross)C++17
8 / 100
93 ms3688 KiB
#include "cross.h" using namespace std; long long SelectCross(int K, std::vector<int> I, std::vector<int> O) { long long n = I.size(); long long i, ret=0; for(i=0;i<n;i++) ret=max(ret, (long long)O[i]*I[i]*2-(long long)I[i]*I[i]); return ret; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...