SP7297 GRIDCOIN - Placing Coins on a Grid
Description
In how many ways can R coins be placed on an N \* M grid such that each row and each column have atleast 1 coin ?
Input :
The first line contains the number of test cases T. T lines follow containing 3 integers: N,M and R. (1
Input Format
N/A
Output Format
N/A