Problem 3473 · Medium
Pick k disjoint subarrays of length at least m with the largest total, using a row-by-row prefix DP.
Open the interactive visualisation