Run -Error in IDE

My code is giving correct output in IDE but giving run-time error …why ?
https://ide.codingblocks.com/s/71328

I replied on your new post regarding same question

Hi Archit

If your doubt is resolved then please mark it as resolved in your online course’s ask doubt section.

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.

1 Like

my problem is that when i run test case 1(after downloading test case 1) gives correct answer in custom input but while submitting it shows run error