posts - 12,comments - 0,views - 2078
01 2023 档案
数据结构
摘要:二、数据结构 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) 推荐(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) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示