摘要:
二、数据结构 1.单链表 头插法建立链表,删除一个数,在指定位置插入一个数 #include <iostream> using namespace std; const int N=100010; int head,e[N],ne[N],idx; //idx,存储当前已经用到了哪个点。ne【i】表示
阅读全文
posted @ 2023-01-26 19:10
cathyd
阅读(24)
推荐(0)
编辑
摘要:
四、高精度: 1.大整数的存储 2.模拟加法的存储 123+89=212(Ai+Bi+t) #include <vector>将数组的长度变长 例题 1.高精度减法 #include <iostream> #include <vector> using namespace std; bool cmp
阅读全文
posted @ 2023-01-26 19:10
cathyd
阅读(4)
推荐(0)
编辑