SP10377 MECGROUP - project groups

Description

N/A

Input Format

First line contains an integer n which itself indicates number of test cases. Each test case comprises of three space separated integers "B G t" . Where B denotes numer of boys ,G denotes number of girls in the class. And t denotes number of students in a group. Constraints: 1

Output Format

For each test case print total number of ways per line.