Solutions to problems of the UVa Online Judge