Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
89912 | 徐文杰 | 08三个数排序 | C++ | Wrong Answer | 1 MS | 268 KB | 402 | 2024-09-07 11:55:10 |
#include<iostream> using namespace std; int main(){ int a,s,d,f,h; cin>>a>>s>>d; if(a>s && a>d){ f==a; } if(a<s && d<s){ f==s; } if(d>a && d>s){ f==d; } cin>>a>>s>>d; if(a<s && a<d){ h==a; } if(a>s && d>s){ h==s; } if(d<a && d<s){ h==d; } cout<<f<<a+s+d-f-h<<h; }
------Input------
4 43 85
------Answer-----
85 43 4
------Your output-----
01320