Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
145274 梁敖铭 比较三个数大小II C++ Wrong Answer 0 MS 272 KB 289 2026-01-25 14:26:08

Tests(0/1):


Code:

#include<iostream> #include<cstdio><math.h> using namespace std; int main() { int a,b,c,t; cin>>a,b,c; if(a>b){ t=a; a=b; b=t;} if(a>c){ t=a; a=c; c=t;} if(b>c){ t=b; b=c; c=t;} cout<<a<<" "<<b<<" "<<c; return 0; }


Run Info:

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