E. 作业题 - 输出各位数字之和

    Type: Default 1000ms 256MiB

作业题 - 输出各位数字之和

提示:该题测试数据补录中,暂不支持评测提交。

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.

题目描述

输入一个三位数 SS,个位上的数字是 aa,十位上的数字是 bb,百位上的数字是 cc。

求个位上数字 aa ,十位数字 bb ,及百位的数字 cc 的和。

即 a+b+ca+b+c 的值。

输入格式

一行一个三位数

输出格式

一行一个整数

题目样例

样例输入

243

样例输出

9

数据范围

无

这些题都有点善

Not Attended
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