代碼以下:ios
1 #include <iostream> 2 using namespace std; 3 int main() 4 { 5 int a,b,c,d,e,f; 6 cin>>a; 7 b=a/10000; 8 c=a/1000%10; 9 d=a/100%10; 10 e=a/10%10; 11 f=a%10; 12 cout<<b<<" "<<c<<" "<<d<<" "<<e<<" "<<f<<endl; 13 return 0; 14 }