Submission #896550

#TimeUsernameProblemLanguageResultExecution timeMemory
896550SuPythonyA Plus B (IOI23_aplusb)C++17
60 / 100
1072 ms1487676 KiB
#include <bits/stdc++.h> using namespace std; vector<int> smallest_sums(int N, vector<int> A, vector<int> B) { vector<int> sums; for (int i=0; i<N; i++) { for (int j=0; j<N; j++) { sums.push_back(A[i]+B[j]); } } sort(sums.begin(), sums.end()); vector<int> ans=vector<int>(sums.begin(), sums.begin()+N); return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...