cf/mirror

Sums of Digits

CF
509C2000· candidate master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
3
1
2
3
Output
1
2
3
Sample 2of 2
Input
3
3
2
1
Output
3
11
100
509C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)