#t313. 放苹果
放苹果
Putting Apples
Problem Background
Special for beginners, ^_^
Problem Description
Put identical apples into identical plates, where some plates may be left empty. How many different ways of distribution are there (denoted by )? Note that and are considered the same distribution.
Input Format
The first line is the number of test cases (). Each of the following lines contains two integers and , separated by a space ().
Output Format
For each input case with and , output the corresponding on a single line.
Sample Input
1
7 3
Sample Output
8
Constraints
1s, 1024KiB for each test case.