How if we solve at x moves we solve by x+1 moves

at time 9.35 statement not clear

Hey @dakshi
Please have a look at 1172A here
The solution and code are discussed
After going through that you will get a better idea of what is happening there
https://codeforces.com/blog/entry/67511

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.