Only One test case passed

I have calculated (n-1) c (r-1) but only one test case passed

Hey @Ferogle
Hey your variables ill overflow, its clearly mentioned that “You can assume that this number exceeds the limit of a signed 64-bit integer.”
Example 249 245

Use this instead :https://ide.codingblocks.com/s/323955
:slight_smile:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.