small sort
2024-12-10 19:45:43
发布于:浙江
6阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int main(){
int x,a[100010],y;
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] << " ";
}
}
这里空空如也
有帮助,赞一个