Broken calculator

My code is failing one test cases. Please help

hi @rahul.gupta03111999,


Your code is correct,just increase the size of MAX because factorial of 500 is very large.
Please let me know if there is any other doubt.