>>574
サンプルプログラムで、2箇所ある
value[i]+=(temp[j]-'0')*(int)pow(10,strlen(temp)-(j+1));//3数値の加算
を
value[i] *= 10;
value[i] += (temp[j]-'0');//数値の加算
に変更する。