| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 145273 | 梁敖铭 | 比较三个数大小II | C++ | Wrong Answer | 0 MS | 276 KB | 274 | 2026-01-25 14:24:52 |
#include<iostream> #include<cstdio> using namespace std; int main() { int a,b,c,t=0; 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; }
------Input------
346 423 123
------Answer-----
123 346 423
------Your output-----
00346