高精度
memcpy0
希望探索文理结合的自由之路。
展开
-
基础编程题目集 编程题部分
★★ 7-22 龟兔赛跑 (20分)★★★ 7-23 币值转换 (20分) 中文习惯读数字 【约瑟夫环】7-28 猴子选大王 (20分)★ 7-29 删除字符串中的子串 (20分)★★★ 7-37 整数分解为若干项之和 (20分)★★★ 7-38 数列求和-加强版 (20分)原创 2020-02-17 16:31:22 · 5993 阅读 · 4 评论 -
LeetCode 372. Super Pow【数学/递归/快速幂】中等
Your task is to calculate ab mod 1337 where a is a positive integer and b is an extremely large positive integer given in the form of an array.Example 1:Input: a = 2, b = [3]Output: 8Example 2:Input: a = 2, b = [1,0]Output: 1024Example 3:Input: a原创 2020-11-26 02:13:24 · 267 阅读 · 0 评论 -
【高精度】大整数类实现一 [数组模拟]【模板】
文章目录1. 大整数类的存储2. 大整数类的比较和打印3. 大整数类的四则运算1. 高精度加法2. 高精度减法3. 高精度和低精度的乘法★★★ 4. 高精度乘法5. 高精度与低精度的除法6. 高精度除法4. 题目和总结和预告一道A+BA + BA+B的题目,都在intintint范围内,没有难度。但是如果 AAA 和 BBB 都是有 100010001000 位的整数,就不能够直接使用已有的数据...原创 2020-03-21 00:01:42 · 512 阅读 · 0 评论