Submission #1067162

#TimeUsernameProblemLanguageResultExecution timeMemory
1067162ChericMACA Plus B (IOI23_aplusb)C++17
60 / 100
1141 ms1559572 KiB
#include <aplusb.h> #include <algorithm> using namespace std; vector<int> smallest_sums(int N, vector<int> A, 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()); vector<int> results; for (int i = 0; i < N; i++) { results.push_back(C[i]); } return results; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...