HELLO WRONG ANSWER

PLZ… SEE MY SOLUTION https://www.codechef.com/viewsolution/36018492

ITS GIVING WRONG …
KINDLY TELL ME WHATS WRONG

o sorry i got my mistake … thanks for watching even ;
i wasnt recording count instead finding no of advantages