Run ID:61808
提交时间:2023-12-10 17:00:56
#include<iostream> #include<cstdio> using namespace std; int main(){ int n,shu; cin>>n; int t[100001]={0}; for(int i=0;i<n;i++){ cin>>shu; t[shu]++; } for(int i=0;i<=100000;i++){ for(int j=0;j<t[i];j++){ cout<<i<<" "; } } return 0; }