Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
145044 吴昊 08三个数排序 C++ Wrong Answer 0 MS 272 KB 351 2026-01-24 20:22:05

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ long long a,b,c,x=0; cin>>a>>b>>c; if(a>b){ x=b; b=a; a=x; } if(a>c){ x=c; c=a; a=x; } if(b>c){ x=c; c=b; b=x; } cout<<a<<" "<<b<<" "<<c; return 0; }


Run Info:

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