Problem 3767 · Medium

Maximize Points After Choosing K Tasks

Start every task on technique 2, then switch the tasks with the largest gains to technique 1, keeping at least k switches.

Open the interactive visualisation