(HARD TO DETECT)What's wrong in my TEAMMATE submission?

Link of codechef submission :
https://www.codechef.com/viewsolution/20852630

Link if you directly want to fork in online compiler :
https://ideone.com/NN1rqk

Please explain where are the things going wrong.

1 Like

I think the problem is with how you’re counting groups of 2, specifically the way you’re calculating 2^n.
It’s not very clear. If you explained what you calculated a little better, it would help.

We want to calculate \frac{(2n)!}{2^n n!}

Here is my code. It might be helpful to you.

I think the problem is with something else, see this groups of tow works fine…