Sergey's problem
1019C3000· legendary gm2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
5 41 22 32 42 5
Output
41 3 4 5
Sample 2of 2
Input
3 31 22 33 1
Output
13
58%
1019C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…