Coding practice -- UVa online judge