Descriptions:

Candies Distribution

CodeForces - 1054C