poj 1005 wrong which I don't know what's going on