Type: Default 1000ms 256MiB

分离整数的各个数

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

【题目描述】

给定一个整数n(1≤n≤100000000),要求从个位开始分离出它的每一位数字。从个位开始按照从低位到高位的顺序依次输出每一位数字。

【输入】

输入一个整数,整数在1到100000000之间。

【输出】

从个位开始按照从低位到高位的顺序依次输出每一位数字。数字之间以一个空格分开。

【输入样例】

123

【输出样例】

3 2 1

【来源】

一本通在线评测

B班第六天测试

Not Attended
Status
Done
Rule
Ledo
Problem
13
Start at
2025-7-26 19:00
End at
2025-7-26 21:00
Duration
2 hour(s)
Host
Partic.
9