Problem A: 数字倒序
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:21
Solved:15
Description
请你用递归函数,将输入的一个非负整数 n,输出为数字 n 的倒序。
如下样例数据:
输入:n= 123 ;
输出: 321
Input
输入只一个整数 n。
Output
输出一个数字为 n 的倒序。
Sample Input Copy
12345
Sample Output Copy
54321
HINT
正整数 int 范围, 末尾不带零。