#include<iostream>
#include<algorithm>
#include<vector>
using namespace std;
int main(void)
{
int count;
cin>>count;
int n;
int temp;
vector<int> v;
while(count--)
{
cin>>n;
v.clear();
for(int i=0;i<n;i++)
{
cin>>temp;
v.push_back(temp);
}
sort(v.begin(),v.end());
for(int i=0;i<v.size();i++)
{
cout<<v[i];
if(i!=v.size()-1)
{
cout<<' ';
}
}
cout<<endl;
}
return 0;
}
1040 As Easy As A+B
最新推荐文章于 2020-09-01 14:35:06 发布