Hello everyone!
I was upsolving ICPC 2021 Amritapuri Regional Contest. I am stuck on the problem Grid jumps. I searched for editorials or discussions but couldn't find any. So this blog is my last hope :((((
Here is the problem link — Grid jumps
Thanks in advance!!!