Problem 781 · Medium

Rabbits in Forest

Group rabbits giving the same answer into colour groups of size answer+1 and count the minimum total.

Open the interactive visualisation