The code is not working for n=500 and testcase#1 is failing due to run error. https://ide.codingblocks.com/s/153717 This is my code. What can I modify?
One testcase failing
@shruthi019
500! is over 1100 digits long. You have made an array of size 500. Simply increase the size of your array.
1 Like
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.