A. [R4A]数位交换

    Type: Default 1000ms 512MiB

[R4A]数位交换

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.

时空限制

1S/512M

题目描述

给定一个三位数 XX,将 XX 的个位与百位交换,求交换后的数。

格式

输入格式

第一行包含一个整数 XX

输出格式

输出一个整数表示 XX 的个位与百位交换后的数(不输出前导 00)。

样例

样例输入 #1

123

样例输出 #1

321

样例输入 #2

650

样例输出 #2

56

数据规模

对于 100%100\% 的数据, 100X999100\leq X\leq 999

代码源挑战赛 Round 4

Not Attended
Status
Done
Rule
DMY
Problem
6
Start at
2025-3-21 20:00
End at
2025-3-21 21:30
Duration
1.5 hour(s)
Host
Partic.
461