Like a normal Aliens Trick problem, we're going to binary search on the maximum
λ where the number of subarrays used is ≥k.
Now, for a given λ, we're going to calculate the number of people in an
optimal food arrangement such that we subtract λ for every
person.
Let's have dp[i][j:{0,1}] represent the maximum sum of satisfaction
of an arrangement of the first i plates, given that j=0/1 implies whether
plate i is being used. Let cnt[i][j] represent the number of
people used in an optimal arrangement of dp[i][j].