Submission #113613

#TimeUsernameProblemLanguageResultExecution timeMemory
113613imsifileCrosses on the Grid (FXCUP4_cross)C++17
8 / 100
66 ms3564 KiB
#include "cross.h" using namespace std; typedef long long lld; lld SelectCross(int N, int K, vector<int> I, vector<int> O) { lld mx=0; for(int i=0; i<N; i++){ if(mx < (lld)I[i]*(2*O[i]-I[i])) mx = (lld)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...