```cpp
for(int i=0;i<n;i++)
c[i]=a[n-i-1]-48;
for(int i=0;i<n;i++)
d[i]=b[m-i-1]-48;
```
你这翻转了等于没翻
每个字符都被翻了两遍回到原位
改成 `i < n / 2`
by CGDGAD @ 2021-02-09 17:01:04
双贴,危
by fjy666 @ 2021-02-09 17:01:45
@[adolphshi](/user/389924) e数组没有初始化,里面不是全0,建议:
```cpp
#include <cstring>
memset(e,0,sizeof(e));
```
by _caiji_ @ 2021-02-09 17:01:58