求长度写得有问题。 for中的判断应为: ```cpp if(x<pow(10,i)) break; ``` 否则10的整数次幂是错的。 by ChrisWangZi @ 2022-12-02 14:12:30