Some problems I solved on UVA online judge.