Christmas Gifts

It’s Christmas time! It’s the time when Santa brings gift for the children. This year Santa has $K$ types of gifts. Remember that, he has infinite supply for each type of gift.


This is a companion discussion topic for the original entry at https://toph.co/p/christmas-gifts