cf/mirror

Sum of Digits

CF
102B1000· newbie2s265 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
0
Output
0
Sample 2of 3
Input
10
Output
1
Sample 3of 3
Input
991
Output
3
102B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)