#1407. 【入门】数字之和
【入门】数字之和
说明
对于任意输入的整数,计算其各个数位上的数字之和。输入格式
输入一个正整数N。【注意:N<= 999999】输出格式
输出N的各个位上的数字之和。1234
10
1234
10
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.