对个毛线,问题出在最后
```cpp
if (c[lc] == 0 && lc > 0)lc--;
```
这一行。因为可能不只有一个前导零,所以if要改成while
by han_zheng @ 2024-01-27 21:12:00
@[han_zheng](/user/996863)
过了,谢谢大佬。
by 1234xq @ 2024-01-29 19:46:17