Run ID:145574

提交时间:2026-01-25 16:38:18

#include <iostream> int main() { int a, b, c, temp; std::cin >> a >> b >> c; if (a > b) { temp = a; a = b; b = temp; } if (a > c) { temp = a; a = c; c = temp; } if (b > c) { temp = b; b = c; c = temp; } std::cout << a << " " << b << " " << c << std::endl; return 0; }