Problems from the UVA online judge