Usaco training problems solutions and analysis