Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
145113 李昊阳 比较三个数大小II C++ Accepted 0 MS 272 KB 271 2026-01-25 08:46:18

Tests(1/1):


Code:

#include <iostream> #include <algorithm> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a > b) swap(a, b); if (a > c) swap(a, c); if (b > c) swap(b, c); cout << a << " " << b << " " << c << endl; return 0; }