UVa 10530 - Guessing Game in CPP