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 Solution: 64237977 | CodeChef .

1 1 1 1 10 10 10

output should be 1 yours is confused

change max = -1 not votes[0][0] AC

I am getting nzec in the same question dont know why.Please help.

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