Run ID:99891
提交时间:2024-12-01 09:27:26
#include<iostream> using namespace std; int main(){ /** int a; cin>>a; if(a > 140){ cout<<"天才"; }else{ cout<<" "; } bool b = true; char c = 'a'; cout<<sizeof(c)<<" "<<sizeof(b); double max ,a,b,c; cin>>a>>b>>c; max = a; if(max<b){ max = b; } if(max<c){ max = c; } cout<<max; **/ int a,b,c,temp; cin>>a>>b>>c; if(a < b){ temp = a; a = b; b = temp; } if(b < c){ temp = c; c = b; b = temp; } if(a < b){ temp = b; b = a; a = temp; } cout<<a<<" "<<b<<" "<<c; return 0; }