Run ID:155894
提交时间:2026-06-14 13:51:05
#include<bits/stdc++.h> using namespace std; int main(){ if(a > b and a > c){ cout<<a<<" "; if(b < c){ cout<<c<<" "<<b; }else{ cout<<b<<" "<<c; }else{ if(c > b and c > a){ cout<<c<<" "; if(b < a ){ cout<<a<<" "<<b; }else{ cout<<b<<" "<<a; } }else{ if(b > c and b > a){ cout<<b<<" "; if(c < a ){ cout<<a<<" "<<c; } }else{ cout<<c<<" "<<a; } } } } return 0; }