Run ID:99892

提交时间:2024-12-01 09:28:36

#include<iostream> using namespace std; int main(){ /** int a; cin>>a; if(a>140){ cout<<"天才"; } else{ cout<<" "; } double a,b,c,max; cin>>a>>b>>c; max=a; if(max<b)max=b; if(max<c)max=c; cout<<max; bool a=true; char c='c'; cout<<sizeof(c)<<" "<<sizeof(a); **/ 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 = a; a = b; b = temp; } cout<<c<<" "<<b<<" "<<a; return 0; }