Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
149017 赖泓宇 08三个数排序 C++ Accepted 0 MS 272 KB 303 2026-03-06 18:22:47

Tests(10/10):


Code:

#include <iostream> using namespace std; int main() { int a, b, c, t; cin >> a >> b >> c; // 极简两两交换,无冗余逻辑 a < b && (t=a,a=b,b=t); a < c && (t=a,a=c,c=t); b < c && (t=b,b=c,c=t); cout << a << " " << b << " " << c << endl; return 0; }