Submission #896427

#TimeUsernameProblemLanguageResultExecution timeMemory
896427SuPythonyA Plus B (IOI23_aplusb)C++17
10 / 100
1 ms500 KiB
#include <bits/stdc++.h> using namespace std; vector<int> smallest_sums(int N, vector<int> A, vector<int> B) { vector<int> ans; int s=0, a=0, b=0; while (s<N) { ans.push_back(A[a]+B[b]); s++; if (A[a+1]<=B[b+1]) a++; else b++; } 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...