Submission #1028294

#TimeUsernameProblemLanguageResultExecution timeMemory
1028294magyarakoosA Plus B (IOI23_aplusb)C++17
10 / 100
1 ms348 KiB
#include "aplusb.h" std::vector<int> smallest_sums(int N, std::vector<int> A, std::vector<int> B) { std::vector<int> result; int i = 0, j = 0; for (int k = 0; k < N; k++) { result.push_back(A[i] + B[j]); if (A[i + 1] < B[j + 1]) i++; else j++; } return result; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...