Problem 3914 · Medium
Pay for each adjacent drop and construct an optimal sequence of suffix increments.
Open the interactive visualisation