Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
99871 | 陈治宸 | 08三个数排序 | C++ | Wrong Answer | 0 MS | 276 KB | 268 | 2024-11-30 23:02:48 |
#include<iostream> using namespace std; int main() { int a,b,c; int max; cin>>a>>b>>c; if(a>b) {max=a;} else{ max=b;} if(max<c) { max=c;} cout<<max<<" "<<a<<" "<<b<<endl; return 0; }
------Input------
4 43 85
------Answer-----
85 43 4
------Your output-----
85 4 43