LMIO 2019 - Rabbit Carrot

Authors: Benjamin Qi, Kevin Sheng


Hint

Condition

Final Steps

Bonus: Can you solve the case where the rabbit can jump at most MM units down and at most MM units up?

Spoiler

Join the USACO Forum!

Stuck on a problem, or don't understand a module? Join the USACO Forum and get help from other competitive programmers!