Tests for problem D
1278E2200· master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
61 21 33 43 52 6
Output
9 127 103 111 52 46 8
Sample 2of 2
Input
1
Output
1 2
58%
1278E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…