提交时间:2022-12-01 18:56:08

运行 ID: 6322

#include<iostream> using namespace std; int main () { int a,b,c; int t; cin>>a>>b>>c; if (a<b){ t = a; a = b; b = t; }if (b<c){ t = b; b = c; c = t; }if (a<c){ t = a; a = c; c = t; } cout<<a<<b<<c<<endl; system("pause"); return 0; }