Run ID:143036

提交时间:2026-01-11 17:54:59

#include <iostream> using namespace std; int main() { int num; cin >> num; int units = num % 10; int tens = (num / 10) % 10; int hundreds = (num / 100) % 10; int thousands = num / 1000; int ne = units * 1000 + thousands * 100 + tens * 10 + hundreds; cout << ne << endl; return 0; }