UVA Online Judge Solutions