solutions for USACO problems