IntermediateRating 1300
Sharing Identical Sweets
In how many ways can n identical sweets be shared among k children (some may get none)?
Input
n k.
Output
A count.
Sample 1
Input
3 2
Output
4
Sample 2
Input
0 5
Output
1
Output appears heren k.
A count.
3 2
4
0 5
1
Output appears here