my usaco code in CPP