Type: Default 1000ms 128MiB

大数的数位和(1)

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.

说明

输入一个数字n,n的位数小于100,求n的各数位上的数字和。

输入格式

一个数字

输出格式

一个数字
1234
10

来源

字符串

字符和字符串

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
12
Start at
2025-12-16 14:30
End at
2025-12-24 22:30
Duration
200 hour(s)
Host
Partic.
39