UVa Problem 10281
UVa Problem 10363
UVa Problem 10420
Fix g++ compilation error