Minimise Cost
2183H3500· legendary gm6s512 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
63 21 3 -23 11 3 -210 4-4 -6 -8 6 -3 -7 -3 1 6 -510 91 -2 6 -2 -6 4 3 3 7 -120 5-5 9 -4 10 -2 4 -1 3 5 6 7 9 8 1 0 -6 4 5 8 950 267 10 10 2 2 1 7 4 4 8 5 8 -10 6 1 4 7 8 0 0 -8 1 1 5 0 0 6 0 7 4 6 0 7 4 -2 0 0 8 1 4 -7 0 6 -9 4 10 8 2 0 9
Output
16-2395131-404
58%
2183H.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)