Problem 3857 · Medium

Minimum Cost to Split into Ones

Every split order pays the same total.

Open the interactive visualisation