cf/mirror

Maximize Sum of Digits

CF
770B1300· pupil1s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
100
Output
99
Sample 2of 3
Input
48
Output
48
Sample 3of 3
Input
521
Output
499
770B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)