0
已采纳
for(int i=1;i<=3;i++){
for(int j=i+1;j<=3;j++){
if(a[i]<a[j]){
swap(a[i],a[j]);
}
}
}
cout<<a[1]<<a[2]<<a[3];
0
0
0