Getting NZEC on FROGV

i am getting NZEC for this question. Can anyone tell me why?
My solution:
https://www.codechef.com/viewsolution/33214735