I have query with my solution in august cook ,coke

1)you haven’t updated the value of y to 10^6+1 in this solution.
2)suppose m=1
and ft =k+2
if(ft>k+1) is true and ft becomes k+1
if(k-1<=ft<=k+1) becomes also true then ft becomes k.
hope you got it .:slightly_smiling_face: