Run ID:121947

提交时间:2025-06-13 19:20:38

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a[100001]={0},n,x=0,s=100000; cin>>n; for(int i=1;i<=n;i++){ cin>>x; a[x]++; } for(int k=0;k<=100000;k++){ while(a[k]!=0){ cout<<k<<" "; a[k]--; } } return 0; } /* kuiddddddddddddddddddddddddddddddddryhtgeffffffffffffffffffffsr你们的确定位置业务必须知道理解决定位置业务必须知道理解决定位置业务必须知道理解决定位置业务必须知道理*/