i have computed factorial and then use the formula
nCr=(n!) / (r!*(n-r)!) https://ide.codingblocks.com/#/s/24237
Virat and nCr giving tle
If this can’t be solved using inverse multiplicative inverse as p here is a prime number?
i have computed factorial and then use the formula
nCr=(n!) / (r!*(n-r)!) https://ide.codingblocks.com/#/s/24237
If this can’t be solved using inverse multiplicative inverse as p here is a prime number?