Please help me out with the code

the question is- FCTRL2 Problem - CodeChef
and my answer is - CodeChef: Practical coding for everyone
I have done in C language, but still, it’s showing wrong and
please help me, anyone.

the value of n is between 1 and 100 so, 100! will not even fit in integer or long long integer so change ur approach.

I think this might help you