Last chance
1045A2500· grandmaster2s128 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
3 50 1 42 5 4 11 1 4
Output
42 13 21 42 5
58%
1045A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…
3 50 1 42 5 4 11 1 4
42 13 21 42 5