submission link:- https://codeforces.me/contest/2009/submission/313634231
problem link:- https://codeforces.me/contest/2009/problem/C
what is my mistake please someone clarify.......
here the author used ceil(x/k)<=ceil(y/k)----->> I have written (x<=y) why it is showing wrong
answer please clarify......








Your code is wrong at test x = 4, y = 5, k = 3
You should check if the number of moves required to move in direction x (which is ceil(x/k)) is smaller or equal than that of direction y
but I am getting which is right (0,0)-->(3,0)-->(3,3)-->(4,3)-->(4,5)
i meant x = 5, y = 4