Error running test cases for large factorial

test cases error 1 is failing here is my code

can someone help me?

??? can someone help me

Is your doubt resolved now or should i check your code?

1 Like

no, can you help me out

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.

my doubt is not cleared sir, I need to you to check my code.

one of my test case is failing

@lakshay2311

Check now.

Got it thanks :slight_smile: but i didnt get my error what was it?

You restricted the size of the result array to 500…but 500! will have number of digits greater than 500

1 Like

Okay thanks got it :slight_smile: