cf/mirror

Minimum Array

CF
1887C2400· grandmaster3s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
2
4
1 2 3 4
2
1 4 0
1 3 -100
5
2 1 2 5 4
3
2 4 3
2 5 -2
1 3 1
Output
-99 -98 -97 4
2 1 2 5 4
1887C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)