Run ID:128625
提交时间:2025-08-18 17:00:13
#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(){ int a,b,c,max=0,d,e; cin>>a>>b>>c; if(a>b){ max=a; } else{ max=b; } if(max<c){ max=c; } if(b>c) { d=b; e=c; } else{ d=c; e=b; } cout<<max<<" "<<d<<" "<<e; return 0; }