Dawid and Bags of Candies

Problem Name:
Dawid and Bags of Candies
Site:CodeForces
Links:
Tags:
Problem setters: