#include <iostream> using namespace std; int main() { int n; cin >> n; // 提取十万位 cout << n / 100000 << endl; // 提取万位 cout << n / 10000 % 10 << endl; // 提取千位 cout << n / 1000 % 10 << endl; // 提取百位 cout << n / 100 % 10 << endl; // 提取十位 cout << n / 10 % 10 << endl; // 提取个位 cout << n % 10 << endl; return 0; } /************************************************************** Problem: 1611 User: fuyijun Language: C++ Result: Accepted Time:6 ms Memory:2072 kb ****************************************************************/