Here is the homework problem for this week: http://www.usaco.org/index.php?page=viewproblem2&cpid=832