| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 128625 | 黄俊然 | 08三个数排序 | C++ | Wrong Answer | 1 MS | 268 KB | 568 | 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; }
------Input------
4 43 85
------Answer-----
85 43 4
------Your output-----
85 85 43