UVa Online Judge Solutions