Submission #953190

#TimeUsernameProblemLanguageResultExecution timeMemory
953190KasymKA Plus B (IOI23_aplusb)C++17
60 / 100
1094 ms766336 KiB
#include "aplusb.h" #include "bits/stdc++.h" using namespace std; vector<int> smallest_sums(int N, vector<int> A, vector<int> B){ vector<int> a; for(int &i : A) for(int &j : B){ int sum = i + j; a.push_back(sum); } sort(a.begin(), a.end()); vector<int> ans; for(int i = 0; i < N; ++i) ans.push_back(a[i]); 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...