Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
4635 高振轩 比较三个数大小II C++ Wrong Answer 0 MS 260 KB 250 2024-08-24 16:28:23

Tests(0/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a>c&&a>b&&c<b){ cout<<c<<b<<a<<endl; } else if(b>c&&b>a&&c>a){ cout<<a<<c<<b<<endl; } else if(c>b&&c>a&&a>b){ cout<<a<<b<<c<<endl; } }


Run Info:

------Input------
346 423 123
------Answer-----
123 346 423
------Your output-----