Run ID:114430
提交时间:2025-03-22 12:52:59
#include<bits/stdc++.h> using namespace std; int main() { int n; n = 12345; int a = n / 1000 / 10;//1 int b = n / 1000 % 10;//2 int c = n / 100 % 10;//3 int d = n % 100 / 10;//4 int e = n % 100 % 10;//5 cout << e * 10000 + d * 1000 + c * 100 + b * 10 + a; return 0; }