Submission #1134673

#TimeUsernameProblemLanguageResultExecution timeMemory
1134673algoproclubA Plus B (IOI23_aplusb)C++20
60 / 100
1108 ms1051444 KiB
// UUID: 8c11b2f1-4a04-45dd-ab8f-622fa543f5db #include "aplusb.h" #include <bits/stdc++.h> using namespace std; std::vector<int> smallest_sums(int N, std::vector<int> A, std::vector<int> B) { vector<int> c; for (int i = 0; i < N; i++) { for (int j = 0; j < N; j++) { c.push_back(A[i] + B[j]); } } sort(c.begin(), c.end()); c.resize(N); return c; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...