cf/mirror

Vlad and a Sum of Sum of Digits

CF
1926C1200· pupil0.5s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
7
12
1
2
3
1434
2024
200000
Output
51
1
3
6
18465
28170
4600002
1926C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)