UVA Online Judge Questions