Why error is thrown

My code link https://www.codechef.com/viewsolution/15610125

Can you please explain your code?

I need repo points to upload a pic pls upvote .

You already have that much. Isnt the req 60 karma?

//