I need help with this problem: http://www.usaco.org/index.php?page=viewproblem2&cpid=1037.
When you post a question that you need help solving, post what you’ve attempted so far and not just the question.