why i amm getting this run time error?

https://www.codechef.com/submit/complete/19323296

this is my solution.
please help me out.