Array
781. Rabbits in Forest
Each surveyed rabbit reports how many other rabbits share its colour; from the array of answers, find the minimum possible number of rabbits. A rabbit answering x belongs to a colour group of exactly…
Loading…
Each surveyed rabbit reports how many other rabbits share its colour; from the array of answers, find the minimum possible number of rabbits. A rabbit answering x belongs to a colour group of exactly…
Loading…