UVa-Solution My solution on UVa Online Judge. Solution grouped on Competitive Programming Book by Steven and Felix Halim.