Solutions to UVA problems