Problem 2928 · Easy

Distribute Candies Among Children I

Count the splits of n candies into three bounded shares by fixing the first two shares and checking that the third fits.

Open the interactive visualisation