Submission #113612

#TimeUsernameProblemLanguageResultExecution timeMemory
113612imsifileCrosses on the Grid (FXCUP4_cross)C++17
0 / 100
2 ms256 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 < 2*I[i]*O[i]-I[i]*I[i]) mx = 2*I[i]*O[i]-I[i]*I[i]; } return mx; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...