作业题 - 物流编号逆序输出
No testdata at current.
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.
题目描述
一家物流公司的仓库需要对每个货物进行管理,将每个货物的编号作为输入,然后输出该货物编号按位逆序的数字。例如,货物A的编号是123,货物B的编号是520,则程序应该输出货物A的编号为321,货物B的编号为25。需要注意的是,当货物编号以0结尾时,输出不应该带有前导的0。比如输入700,输出应该是7。
输入输出说明
输入说明
每个测试是一个3位的正整数。
输出说明
输出按位逆序的数。
题目样例
样例输入
123
样例输出
321
小孩头保卫战之神秘的假期
- Status
- Done
- Rule
- XCPC
- Problem
- 11
- Start at
- 2025-6-18 10:00
- End at
- 2025-6-22 14:00
- Duration
- 100 hour(s)
- Host
- Partic.
- 37