Regarding test cases

why am i getting 0 test cases passed.
code is absolutely correct.

Hey @HyperX, you will be having value of N in range of 1 to 500,
factorial of 100 is

100 !  = 93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000

No data type can store this much value as the logic you are using, won’t be applicable in solving this problem. I can give you some hint, if you want me too. But would suggest you to try it once.

Oh okay. OKay i will try it myself

Do you need any help in this? Cause i have to mark it resolved.

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.