#include "stdio.h"
main()
{
int a[10],min;
printf("请输入10位数字:");
for (int i = 0; i <= 9; i++) {
scanf("%d",&a[i]);
}
for (int j = 0; j < 9; j++) {
for (int i = 0; i < 9-j ; i++) {
if(a[i]<a[i+1]){
min=a[i];
a[i]=a[i+1];
a[i+1]=min;
}
}
}
for (int i = 0; i <= 9; i++) {
printf("%d",a[i]);
}
}