why i amm getting this run time error?

error
run
time

#1

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

this is my solution.
please help me out.