Solution code to USACO training problems in C++