Adjacent Replacements
1006A800· newbie1s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
51 2 4 5 10
Output
1 1 3 5 9
Sample 2of 2
Input
1010000 10 50605065 1 5 89 5 999999999 60506056 1000000000
Output
9999 9 50605065 1 5 89 5 999999999 60506055 999999999
58%
1006A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)