Run ID:110942

提交时间:2025-02-24 19:13:24

#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(){ char a,b,c; cin>>a>>b>>c; if(a>b && b>c){ cout<<a<<" "<<b<<' '<<c; } if(a>b && a<c){ cout<<c<<" "<<a<<" "<<b; } if(a<b && b<c){ cout<<c<<" "<<b<<" "<<a; } return 0; }