utopian tree problem in c++