Problem 879 · Hard

Profitable Schemes

Count groups of jobs whose total headcount stays within a limit and whose total profit reaches a target. The visual fills a table of people used against profit reached.

Open the interactive visualisation