Run ID:77068

提交时间:2024-06-08 11:10:21

#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; int t[100001]={0},shu; for(int i=0;i<n;i++){ cin>>shu; t[shu]++; } for(int i=0;i<=100000;i++){ while(t[i]!=0){ cout<<i<<" "; t[i]--; } } return 0; }