Problem 2226 · Medium

Maximum Candies Allocated to K Children

Give each of k children the largest equal pile size without combining source piles.

Open the interactive visualisation