Test cases for NMNMX

Can someone give me some test cases where my code fails . you can check my code here CodeChef: Practical coding for everyone .
I got only 20 points through this.

In calculating nCr you should use MOD-1. there can be more error but this is the first one that i found in your code