1014 Fans数
Submit solution
Points:
100
Time limit:
1.0s
Memory limit:
32M
Problem types
Allowed languages
C, C++, Java, Python
Description
正整数的各位数字之和被fans称为Fans数。 求输入数(长度<2^32)的Fans数!
Sample
Input
12345
56123
82
Output
15
17
10
Comments