练8.1 尼克与强盗
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.
Description
One day, a robber came to Nick's house and noted his house number—, planning to return later that night. Nick saw this and swapped the tens and units digits of the house number, changing it to , thus avoiding trouble. Write a program to input a two-digit number, swap the tens and units digits, and output the result.
Input Format
A two-digit house number.
Output Format
The transformed house number.
Sample
6776
20251025A班作业(4)
- Status
- Done
- Problem
- 8
- Open Since
- 2025-10-25 0:00
- Deadline
- 2025-11-2 23:59
- Extension
- 24 hour(s)