提交时间:2023-09-11 22:32:18
运行 ID: 101974
#include <iostream> #include <algorithm> #include <map> using namespace std; typedef long long LL; int main() { int a, b, c; cin >> a >> b >> c; if (a > b) {a ^= b, b ^= a, a ^= b;} if (a > c) {a ^= c, c ^= a, a ^= c;} if (b > c) {b ^= c, c ^= b, b ^= c;} cout << a << " " << b << " " << c << endl; return 0; }