Run ID:68847
提交时间:2024-03-26 19:02:12
#include<bits/stdc++.h> using namespace std; int main(){ int n,g,s,b,q,w; cin >>n; g = n % 10; // 12345 s = n / 10 % 10;//12345 b = n / 10 / 10 % 10;// q = n / 1000 % 10; w = n / 10000 % 10; cout << g << s << b << q << w; return 0; }