Homework:
http://www.usaco.org/index.php?page=viewproblem2&cpid=1131
Try to submit your approach and make sure your solution can pass all test cases
This site uses cookies to understand your visit and improve future outreach. We do not sell personal data.