摘要: 记录这些年我写过的bug 2017/11/16 1.数组溢出 2.for (int j = a[0]; j = 1; j++ ) 2017/11/17 1.辛辛苦苦写的函数,自己忘了调用 2.逻辑错误 阅读全文
posted @ 2017-11-16 20:27 799 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 1.大整数加法 题意:计算两个数得和 2.大整数乘法 题意:计算2 ^1000 各位数字累加和 include using namespace std; const int N = 1e5 + 5; const int VAL = 1000; int32_t main() { char a[N],b 阅读全文
posted @ 2017-11-16 20:10 799 阅读(326) 评论(0) 推荐(0) 编辑