Home
Problems
Submissions
Users
Contests
About
Status
Log in
or
Sign up
This site works best with JavaScript enabled.
Add Digits
Submit solution
All submissions
Best submissions
Points:
50 (partial)
Time limit:
5.0s
Memory limit:
64M
Authors:
admin
,
scu09156238
,
makena_lu
Problem type
while
題目說明
輸入一個二位數或三位數的數字,輸出各位數的加總
輸入限制: 均>=0
輸入
正整數
輸出
各位數的總和
sample input1
56
sample output1
11
sample input2
352
sample output2
10
Comments
There are no comments at the moment.
Comments