Run ID:84439
提交时间:2024-07-16 09:17:39
#include<bits/stdc++.h> using namespace std; int main(){ int a[10]={3,4,,2,1,7,9,8,0,5}; int b[10]; for(int i=0;i<1;i++){ b[a[i]]++; } for(int j=0;j<10;j++){ while(b[j>0]){ cout<<b[j]<<' '; b[j]--; } } }