Submission #1010374

#TimeUsernameProblemLanguageResultExecution timeMemory
1010374vjudge1A Plus B (IOI23_aplusb)C++17
60 / 100
1084 ms1509372 KiB
#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; vector<int> ans; 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()); for(int i = 0; i < N; ++i) ans.push_back(c[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...