666
2025-10-08 14:46:59
发布于:浙江
0阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int x,y;
int a[100010];
int main() {
cin >> x >> y;
for(int i = 1;i <= x + y;i++){
cin >> a[i];
}
sort(a + 1,a + 1 + x + y);
for(int i = 1;i <= x + y;i++){
cout << a[i] << " ";
}
return 0;
}
这里空空如也
有帮助,赞一个