在 线 评 测 系 统
Toggle navigation
HNUAHE-OJ
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Problem1060--逆序数字
1060: 逆序数字
[Creator :
]
Time Limit :
1.000
sec
Memory Limit :
128 MiB
Submit
Solved: 2
Submit Num: 5
Statistics
ShowOff!
Description
输入一个int型整数,将其逆序输出,每个数字后有一个空格
Input
输入一个整数n,你可以假设n在int范围内
Output
将n按其逆序输出,每个数字后有一个空格,输出占一行。例如,输入12354,输出4 5 3 2 1
Sample Input
Copy
12345
Sample Output
Copy
5 4 3 2 1
Source/Category
admin