Run time error.please help!

Hi,can anyone help me with my code.The code is giving corrrect output but it is also giving runtime error

you have given the wrong url

I think the link you posted is of an ongoing contest, that’s why others cannot see it and it’s against rules to share code of the ongoing contest in any way

apologies! I did’nt know that. This is my first program in codechef.