Submission #896548

#TimeUsernameProblemLanguageResultExecution timeMemory
896548SuPythonyA Plus B (IOI23_aplusb)C++17
10 / 100
1 ms348 KiB
#include <bits/stdc++.h> using namespace std; vector<int> smallest_sums(int N, vector<int> A, vector<int> B) { vector<int> sums; sums.push_back(A[0]+B[0]); for (int i=1; i<N; i++) { sums.push_back(A[0]+B[i]); sums.push_back(B[0]+A[i]); } 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...