For this week's homework, take a look at and try to solve the following problem: http://www.usaco.org/index.php?page=viewproblem2&cpid=663. This is a problem similar to the ones we did in class, so use this as an opportunity to practice taking the input and implementing an algorithm. If you have not already, do create a USACO account so that you can upload your program to the website to have it be automatically tested. We will go over the solution to this problem in the next class, and if you have any questions about it or your code, feel free to send me an email or just ask me next class.
top of page
bottom of page