提交时间:2022-12-01 18:47:50

运行 ID: 6320

#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; a = b; c = t; }if (a > c){ t = a; a = c; c = t; } cout<<a<<b<<c<<endl; system("pause"); return 0; }