cf/mirror

Range Minimum Sum

CF
1988E2300· international master4s512 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
4
1
1
3
3 1 2
5
4 2 1 5 3
8
8 1 4 6 7 3 5 2
Output
0
4 7 5
19 21 27 17 19
79 100 72 68 67 80 73 80
1988E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)