UVa Problem 10158
Fixing compilation errors due to g++/vc difference