Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
138326 杨浩宇 08三个数排序 C++ Wrong Answer 0 MS 268 KB 428 2025-11-24 16:50:08

Tests(1/10):


Code:

#include <iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a>b&&a>c){ if(b>c){ cout<<a<<" "<<b<<" "<<c; }else{ cout<<a<<" "<<c<<" "<<b; } }else{ } if(a>b&&a>c) if(a>c){ cout<<b<<" "<<a<<" "<<c; }else{ cout<<b<<" "<<c<<" "<<a; }else{ if(a>b){ cout<<c<<" "<<a<<" "<<b; }else{ cout<<c<<" "<<b<<" "<<a; } } }


Run Info:

------Input------
64 56 55
------Answer-----
64 56 55
------Your output-----
64 56 5556 64 55