2042: 885. 求组合数 I

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:84 Solved:12

Description

Input

第一行包含整数 n。

接下来 n 行,每行包含一组 a和 b。

Output

共 n 行,每行输出一个询问的解。

Sample Input Copy

3
3 1
5 3
2 2

Sample Output Copy

3
10
1

HINT

Source/Category