# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
919507 | 2024-02-01T03:34:58 Z | vjudge1 | A Plus B (IOI23_aplusb) | C++17 | 0 ms | 0 KB |
#include <bits/stdc++.h> vector<int> smallest_sums(int N, vector<int>A, vector<int>B){ long long minna = 1e18,minnb = 1e18; for(int i = 0; i < A.size(); i++) minna = min(minna,A[i]); for(int i = 0; i < B.size(); i++) minnb = min(minnb,B[i]); vector<long long> ans; ans.push_back(minna * minnb); return ans; }