#P3. 数位交换
数位交换
Description
输入一个三位整数(保证此数大于99,小于1000),将此数的百位与个位交换后输出.
Input Format
一行一个三位整数
Output Format
一行一个整数
Sample
123 321
Hint
保证99≤a,b≤99999≤a,b≤999。
时间限制:1s1s 空间限制:256MB
输入一个三位整数(保证此数大于99,小于1000),将此数的百位与个位交换后输出.
一行一个三位整数
一行一个整数
123 321
保证99≤a,b≤99999≤a,b≤999。
时间限制:1s1s 空间限制:256MB
By signing up a code-fans universal account, you can submit code and join discussions in all online judging services provided by us.