Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
121639 周泽洋 08三个数排序 C++ Wrong Answer 0 MS 264 KB 519 2025-06-07 18:44:43

Tests(0/10):


Code:

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


Run Info:

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