1274: (2026)实验1-2C 十位与个位之和 / Sum of Tens and Units Digits
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:39
Solved:25
Description
【中文题面】
输入一个三位正整数,求它的十位数字与个位数字之和。
[English Description]
Input a 3-digit positive integer and output the sum of its tens digit and units digit.
输入一个三位正整数,求它的十位数字与个位数字之和。
[English Desc
Input a 3-digit positive integer and output the sum of its tens digit and units digit.
Input
【输入】
输入一个三位正整数。
[Input]
One 3-digit positive integer.
输入一个三位正整数。
[Input]
One 3-digit positive integer.
Output
【输出】
输出一个整数,表示十位数字与个位数字之和。
[Output]
Output one integer, the sum of the tens digit and the units digit.
输出一个整数,表示十位数字与个位数字之和。
[Output]
Output one integer, the sum of the tens digit and the units digit.
Sample Input Copy
386
Sample Output Copy
14