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

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==0)){ cout<<x<<" "<<y<<" "<<z<<" "; } if ((x>z>y==0)){ cout<<x<<" "<<z<<" "<<y<<" "; } if ((y>x>z==0)){ cout<<y<<" "<<x<<" "<<z<<" "; } if ((y>z>x==0)){ cout<<y<<" "<<z<<" "<<x<<" "; } if ((z>y>x==0)){ cout<<z<<" "<<y<<" "<<x<<" "; } if ((z>x>y==0)){ cout<<z<<" "<<x<<" "<<y<<" "; } }


Run Info:

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