#A. C++-循环while-对于给定的任意正整数(个位可为0),将其各个位上的数字分离并倒序输出
C++-循环while-对于给定的任意正整数(个位可为0),将其各个位上的数字分离并倒序输出
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.
Background
Description
对于给定的任意正整数(个位可为0),将其各个位上的数字分离并倒序输出: 输入:123 输出:321
Format
Input
Output
Samples
123
321
12300
00321
Limitation
1s, 1024KiB for each test case.
C++-循环while-对于给定的任意正整数(个位可为0),将其各个位上的数字分离并倒序输出
- Status
- Done
- Problem
- 1
- Open Since
- 2024-9-27 0:00
- Deadline
- 2024-10-12 23:59
- Extension
- 24 hour(s)