Submission #1006881

#TimeUsernameProblemLanguageResultExecution timeMemory
1006881NexusA Plus B (IOI23_aplusb)C++17
60 / 100
1061 ms1708572 KiB
#include <bits/stdc++.h> #include "aplusb.h" #define ll long long using namespace std; const ll N=2e5+9,M=2e18+9,mod=998244353; vector<int>smallest_sums(int n,vector<int>a,vector<int>b) { vector<int>v; for(int i=0;i<n;++i) for(int j=0;j<n;++j) v.push_back(a[i]+b[j]); sort(v.begin(),v.end()); vector<int>ans; for(int i=0;i<n;++i)ans.push_back(v[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...