比数位
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.
说明
请从键盘读入一个两位数(个位和十位不相等),计算一下,这个两位数的十位和个位,哪一位更大, 输出更大的那一位。
比如,输入18,由于十位为1,个位为8,个位更大,因此输出8。
输入格式
输入一个两位整数。
输出格式
输出这个两位数的十位和个位的较大数。
样例
18
8
非常好看
- Status
- Done
- Rule
- Ledo
- Problem
- 40
- Start at
- 2025-1-24 16:45
- End at
- 2025-4-18 0:45
- Duration
- 2000 hour(s)
- Host
- Partic.
- 17