Problem 1402 · Hard

Reducing Dishes

Choose which dishes to cook and in what order to maximise the sum of time-weighted satisfaction. The visual shows the running prefix total as dishes are added in sorted order and where adding stops paying off.

Open the interactive visualisation