Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
121644 周泽洋 08三个数排序 C++ Wrong Answer 1 MS 268 KB 350 2025-06-07 18:50:53

Tests(0/10):


Code:

#include<iostream> #include<cstdio> using namespace std; int main(){ int x,y,z,a; a=0; cin>>x>>y>>z; if (x<y){ x=a; x=y; y=a; } if (x<z){ x=a; x=z; z=a; } if (y<z){ y=a; y=z; z=a; } cout<<x<<" "<<y<<" "<<z<<" "; }


Run Info:

------Input------
4 43 85
------Answer-----
85 43 4
------Your output-----
85 0 0