随笔分类 - 高精度计算
大整数加减乘除
摘要:题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1002题目意思:就是大整数加法。 两年几前做的,纯粹是整理下来的。 1 #include 2 #include 3 4 #define max 1010 5 char a[max], b[ma...
阅读全文
摘要:题目链接:http://poj.org/problem?id=2389题目意思:就是大整数乘法。 题目中说每个整数不超过 40 位,是错的!!!要开大点,这里我开到100. 其实大整数乘法还是第一次写 = =.......大整数加法写得比较多。百练也有一条是大整数乘法,链接如下:http://b...
阅读全文

浙公网安备 33010602011771号