Could anyone tell which testcase is being failed by my code for this question (LAPTOPREC)

I want to know a testcase where my code is going wrong but I cant see it ,
Question code is LAPTOPREC from STARTERS 37

The link to my solution is CodeChef: Practical coding for everyone .

1
7
1 1 1 1 10 10 10

output should be 1 yours is confused

change max = -1 not votes[0][0] AC
https://www.codechef.com/viewsolution/64246662

I am getting nzec in the same question dont know why.Please help.
https://www.codechef.com/viewsolution/64254356

Thanks a lot

@codersidhant NZEC means “nonzero exit code”, which is a subclass of Runtime Error. In particular, it happens when you access an array out of bounds, which is your case.

thanks @sky_nik