#include "aplusb.h"
#include "bits/stdc++.h"
using namespace std;
vector<int> smallest_sums(int n, vector<int> a, vector<int> b) {
vector<int> c;
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++)cout << c[i] << ' ';
return {};
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
348 KB |
Possible tampering with the output |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
348 KB |
Possible tampering with the output |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
348 KB |
Possible tampering with the output |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
348 KB |
Possible tampering with the output |
2 |
Halted |
0 ms |
0 KB |
- |