Run ID:121639
提交时间:2025-06-07 18:44:43
#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<<" "; } }