Run ID:88167
提交时间:2024-08-18 10:51:41
#include<bits/stdc++.h> using namespace std; int t[100001] = {}; int n; int shu; int main(){ cin >> n; for(int i = 0; i <= n-1; i++) { cin >> shu; t[shu]++; } for(int i = 0; i <= 100000; i++) { for(int ci = 0;ci < t[i]; ci++) cout << i << " "; } return 0; }