Sum of Digits of Sums
1910H2400· grandmaster6s512 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
41 3 3 7
Output
18 17 17 15
Sample 2of 2
Input
342 1337 999
Output
38 53 47
58%
1910H.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
41 3 3 7
18 17 17 15
342 1337 999
38 53 47