atoi convert non digit will give zero

atoi give zero case same node drop twice