版本比较
HGOI NOIP2023 算法模板题纲(自查用)
正文
增加 19 行删除 19 行
123453456789789101112111213141516171819201920212223242522232425262728293030313233343536363738393839404142434445464747484950517 行未改动粗体的为不熟/不会的。## 数论/组合数学/线性代数1. 分解质因数 [B3715](https://www.luogu.com.cn/record/133126093) 2. 线性筛 [P3383](https://www.luogu.com.cn/record/133127080) 3. **欧拉函数** [学习笔记](https://www.luogu.com.cn/blog/NASFskyXD/post-xue-xi-bi-ji-qian-tan-ou-la-han-shuo) [XOJ3329](https://xoj.red/submission-detail/33171) 1. 分解质因数 [B3715](https://www.luogu.com.cn/record/133126093)2. 线性筛 [P3383](https://www.luogu.com.cn/record/133127080)3. **欧拉函数** [学习笔记](https://www.luogu.com.cn/blog/NASFskyXD/post-xue-xi-bi-ji-qian-tan-ou-la-han-shuo) [XOJ3329](https://xoj.red/submission-detail/33171)4. **欧和扩欧** 1. **裴蜀定理** [P4549](https://www.luogu.com.cn/record/133137204) 2. **线性同余** [P1082](https://www.luogu.com.cn/record/133139212) 3. **线性求逆元** [P3811](https://www.luogu.com.cn/record/133146698) 1. **裴蜀定理** [P4549](https://www.luogu.com.cn/record/133137204) 2. **线性同余** [P1082](https://www.luogu.com.cn/record/133139212) 3. **线性求逆元** [P3811](https://www.luogu.com.cn/record/133146698) 4. **中国剩余定理**5. **高斯消元** 6. **矩阵快速幂** [P3390](https://luogu.com.cn/record/133631257) 5. **高斯消元**6. **矩阵快速幂** [P3390](https://luogu.com.cn/record/133631257)7. **Lucas 定理**8. **康托展开** [P3567](https://www.luogu.com.cn/record/123495034)9. **矩阵乘法优化递推** [P1939](https://www.luogu.com.cn/record/133632305)
## 数据结构1. 整体第 k 大2. 逆序对 [P1908](https://www.luogu.com.cn/record/130597518) 3. 树形树状结构 2. 逆序对 [P1908](https://www.luogu.com.cn/record/130597518)3. 树形树状结构 1. 线段树 [P3383](https://www.luogu.com.cn/record/110727998) 2. 树状数组 [P3368](https://www.luogu.com.cn/record/73992836) [P3374](https://www.luogu.com.cn/record/68423775) 3. **Treap**(我选择FHQ-Treap) 4. 树剖 [P3384](https://www.luogu.com.cn/record/123698773) [P4315](https://www.luogu.com.cn/record/123800404) 5. **笛卡尔树** 2. 树状数组 [P3368](https://www.luogu.com.cn/record/73992836) [P3374](https://www.luogu.com.cn/record/68423775) 3. **Treap**(我选择FHQ-Treap) 4. 树剖 [P3384](https://www.luogu.com.cn/record/123698773) [P4315](https://www.luogu.com.cn/record/123800404) 5. **笛卡尔树**4. 字符串相关 1. hash 2. **Trie 树** [P8380](https://www.luogu.com.cn/record/133623200)5. **带权并查集**6. **分块** [学习笔记](https://www.luogu.com.cn/blog/NASFskyXD/post-xue-xi-bi-ji-qian-tan-fen-kuai) 6. **分块** [学习笔记](https://www.luogu.com.cn/blog/NASFskyXD/post-xue-xi-bi-ji-qian-tan-fen-kuai)7. **莫队** [学习笔记](https://www.luogu.com.cn/blog/NASFskyXD/post-xue-xi-bi-ji-qian-tan-mu-dui)8. ST 表 [P3865](https://www.luogu.com.cn/record/133623841)
## 图论1. 最短路/次短路/差分约束 [XOJ2854](https://xoj.red/submission-detail/33349) [P5960](https://www.luogu.com.cn/record/56518440)2. 次小生成树 [P4180](https://www.luogu.com.cn/record/133861477) 2. 次小生成树 [P4180](https://www.luogu.com.cn/record/133861477)3. Tarjan 1. 缩点 [P2863](https://www.luogu.com.cn/record/133706267) 2. 割点 1. 缩点 [P2863](https://www.luogu.com.cn/record/133706267) 2. 割点 3. 割边 4. 点双连通分量 5. 边双连通分量4. 2-SAT5. 欧拉回路 [P7771](https://www.luogu.com.cn/record/133630278)6. 树上问题 1. 树上倍增/差分 2. 树的重心 2. 树的重心 3. 树的直径 4. LCA [P3379](https://www.luogu.com.cn/record/133790190)7. 分数规划 1. 最优比率生成树7 行未改动