all my usaco practice :D