Error in code (CEQUAL)

why am i getting index error in line 8
https://www.codechef.com/submit/CEQUAL

That’s not a link to your code :slight_smile:

1 Like

no it is a link to my code

If you say so :slight_smile:

2 Likes

so why am i getting this error

Since you haven’t provided a link to your code, no one can tell.

1 Like

https://www.codechef.com/viewsolution/28395527

this is the same code