练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.

说明

有一天一个强盗来到尼克家门口,记下了他家的门牌号——6262号,准备晚上再动手。刚好尼克看到了就把门牌号上的十位数字与个位数字调换一下,变成了2626号躲过了一劫。试编一程序,输入一个两位数,交换十位与个位并输出。

输入格式

一个数字门牌号。

输出格式

变换后的门牌号。

样例

67
76

x基础

Not Claimed
Status
Done
Problem
22
Open Since
2024-6-28 0:00
Deadline
2024-8-25 23:59
Extension
24 hour(s)