Run ID:69720
提交时间:2024-04-06 14:39:46
#include <bits/stdc++.h> using namespace std; int main() { int a, b, q, s, g; cin >> a; q = a / 1000 % 10; b = a / 100 % 10; s = a / 10 % 10; g = a % 10; int f = b * 1000 + q * 100 + g * 10 + s; cout << f; }