Submission #832405

#TimeUsernameProblemLanguageResultExecution timeMemory
832405_martynasCrosses on the Grid (FXCUP4_cross)C++17
8 / 100
49 ms3536 KiB
#include "cross.h" using namespace std; long long SelectCross(int K, vector<int> I, vector<int> O) { int N = I.size(); long long mx = 0; for(int i = 0; i < N; i++) { mx = max(mx, 1LL*I[i]*(2*O[i]-I[i])); } return mx; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...