Toggle navigation
点码成金编程
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Home
=>
ProblemSet
=> 1.5-28:分离整数的各个数位
Problem1090--1.5-28:分离整数的各个数位
1090: 1.5-28:分离整数的各个数位
Time Limit:
1
Sec
Memory Limit:
128 MB
Submit:
2
Solved:
6
[
Submit
] [
Status
] [ Creator:
][ 参考程序 ]
Description
给定一个整数,要求从个位开始分离出它的每一位数字。
Input
输入一个整数,整数在1到100000000之间。
Output
从个位开始按照从低位到高位的顺序依次输出每一位数字。数字之间以一个空格分开。
Sample Input
Copy
123
Sample Output
Copy
3 2 1
Source/Category
编程基础
循环