Guessing Game(Long challenge)

My solution - https://www.codechef.com/viewsolution/34448135
Question - https://www.codechef.com/JUNE20B/problems/GUESSG
I have done this question in that way such that it should give me 75 points(as written in editorial) but I don’t understand what is wrong in my solution. Plz. help