E. 作业题 - 输出各位数字之和
作业题 - 输出各位数字之和
No testdata at current.
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.
题目描述
输入一个三位数 ,个位上的数字是 ,十位上的数字是 ,百位上的数字是 。
求个位上数字 ,十位数字 ,及百位的数字 的和。
即 的值。
输入格式
一行一个三位数
输出格式
一行一个整数
题目样例
样例输入
243
样例输出
9
数据范围
无
这些题都有点善
- Status
- Done
- Rule
- XCPC
- Problem
- 42
- Start at
- 2025-1-18 13:45
- End at
- 2025-3-5 20:45
- Duration
- 1111 hour(s)
- Host
- Partic.
- 17