Can someone please help in this doubt!

https://discuss.codechef.com/questions/124575/co92rest-editorial/124973