学习笔记
根据NOI不知道第几年的大纲开的目录,学(复习)到哪写到哪,颜色代表知识点难度(与Luogu意义相同)
点击Link即可传送,文章在Luogu与博客园同步更新喵~
图论
最短路
| \(\textcolor{#52C41A}{SPFA}\) |
Link |
\(\textcolor{#52C41A}{dijkstra}\) |
Link |
\(\textcolor{#3498DB}{Floyd}\) |
Link |
| \(\textcolor{#9D3DCF}{K短路}\) |
Link |
\(\textcolor{#52C41A}{最长路}\) |
Link |
\(\textcolor{#3498DB}{差分约束}\) |
Link |
Tarjan
| \(\textcolor{#3498DB}{强联通分量、缩点}\) |
Link |
\(\textcolor{#3498DB}{双联通分量(点、边)}\) |
Link |
\(\textcolor{#3498DB}{割边、割点、桥}\) |
Link |
| \(\textcolor{#3498DB}{2-SAT}\) |
Link |
|
|
|
|
拓扑排序
| \(\textcolor{#52C41A}{拓扑排序}\) |
Link |
二分图
| \(\textcolor{#3498DB}{二分图最大匹配(匈牙利)}\) |
Link |
\(\textcolor{#3498DB}{二分图最大权匹配(KM)}\) |
Link |
网络流
| \(\textcolor{#9D3DCF}{最大流、最小割}\) |
Link |
\(\textcolor{#9D3DCF}{最小费用最大流}\) |
Link |
\(\textcolor{#9D3DCF}{有上下界的网络流}\) |
Link |
| \(\textcolor{#9D3DCF}{数据结构优化网络流}\) |
Link |
\(\textcolor{#3498DB}{分数规划}\) |
Link |
|
|
欧拉图
| \(\textcolor{#3498DB}{欧拉图}\) |
Link |
树论(大哥)
| \(\textcolor{#3498DB}{生成树}\) |
Link |
\(\textcolor{#3498DB}{LCA}\) |
Link |
\(\textcolor{9D3DCF}{虚树}\) |
Link |
| \(\textcolor{#3498DB}{基环树}\) |
Link |
\(\textcolor{#3498DB}{树链剖分}\) |
Link |
\(\textcolor{#9D3DCF}{Prufer序列}\) |
Link |
| \(\textcolor{#3498DB}{括号序列}\) |
Link |
\(\textcolor{#3498DB}{dfs序}\) |
Link |
\(\textcolor{52C41A}{树的遍历}\) |
Link |
| \(\textcolor{#3498DB}{树上倍增}\) |
Link |
\(\textcolor{#52C41A}{树的直径}\) |
Link |
\(\textcolor{#52C41A}{树的重心}\) |
Link |
| \(\textcolor{#9D3DCF}{树分治}\) |
Link |
\(\textcolor{#9D3DCF}{Link-Cut-Tree}\) |
Link |
\(\textcolor{#9D3DCF}{树分块}\) |
Link |
区间图与弦图
| \(\textcolor{#9D3DCF}{区间图与弦图}\) |
Link |
平面图与对偶图
| \(\textcolor{#9D3DCF}{平面图与对偶图}\) |
Link |
最小树形图(朱刘算法)
| \(\textcolor{#9D3DCF}{最小树形图(朱刘算法)}\) |
Link |
仙人掌
| \(\textcolor{#9D3DCF}{仙人掌}\) |
Link |
数据结构
队列
| \(\textcolor{#52C41A}{队列}\) |
Link |
栈
| \(\textcolor{#52C41A}{栈}\) |
Link |
堆
| \(\textcolor{#52C41A}{堆}\) |
Link |
\(\textcolor{#9D3DCF}{可并堆}\) |
Link |
并查集
| \(\textcolor{#52C41A}{并查集}\) |
Link |
\(\textcolor{#3498DB}{带权并查集}\) |
Link |
\(\textcolor{#9D3DCF}{可持久化并查集}\) |
Link |
hash表
| \(\textcolor{#52C41A}{hash表}\) |
Link |
链表
| \(\textcolor{#52C41A}{链表}\) |
Link |
\(\textcolor{#9D3DCF}{块状链表}\) |
Link |
\(\textcolor{#9D3DCF}{十字链表}\) |
Link |
| \(\textcolor{#52C41A}{双向链表}\) |
Link |
|
|
|
|
st表
| \(\textcolor{#3498DB}{st表}\) |
Link |
块状树
| \(\textcolor{#9D3DCF}{块状树}\) |
Link |
树状数组
| \(\textcolor{#3498DB}{树状数组}\) |
Link |
\(\textcolor{#3498DB}{多维树状数组}\) |
Link |
\(\textcolor{#3498DB}{树状数组求逆序对}\) |
Link |
线段树(男一号)
| \(\textcolor{#3498DB}{普通线段树}\) |
Link |
\(\textcolor{#3498DB}{线段树合并}\) |
Link |
\(\textcolor{#3498DB}{权值线段树}\) |
Link |
| \(\textcolor{#3498DB}{zkw线段树}\) |
Link |
\(\textcolor{#3498DB}{二维线段树(线段树套线段树)}\) |
Link |
\(\textcolor{#3498DB}{可持久化线段树(主席树)}\) |
Link |
| \(\textcolor{#3498DB}{扫描线}\) |
Link |
|
|
|
|
平衡树(女一号)
| \(\textcolor{#3498DB}{Treap}\) |
Link |
\(\textcolor{#3498DB}{Splay}\) |
Link |
\(\textcolor{#9D3DCF}{fhq-treap(无旋treap)}\) |
Link |
| \(\textcolor{#9D3DCF}{替罪羊树}\) |
Link |
\(\textcolor{#9D3DCF}{红黑树}\) |
Link |
\(\textcolor{#9D3DCF}{AVL树}\) |
Link |
| \(\textcolor{#9D3DCF}{SBT}\) |
Link |
\(\textcolor{#9D3DCF}{朝鲜树}\) |
Link |
|
|
KDtree
| \(\textcolor{#9D3DCF}{KDtree}\) |
Link |
划分数
| \(\textcolor{#9D3DCF}{划分数}\) |
Link |
四分树
| \(\textcolor{#9D3DCF}{四分树}\) |
Link |
笛卡尔树
| \(\textcolor{#9D3DCF}{笛卡尔树}\) |
Link |
树套树(男一和女一的孩子)
| \(\textcolor{#9D3DCF}{线段树套平衡树}\) |
Link |
\(\textcolor{#9D3DCF}{平衡树套线段树}\) |
Link |
\(\textcolor{#9D3DCF}{其他平衡树}\) |
Link |
STL(真正的主角)
| \(\textcolor{#52C41A}{map}\) |
Link |
\(\textcolor{#52C41A}{set}\) |
Link |
\(\textcolor{#52C41A}{stack}\) |
Link |
| \(\textcolor{#52C41A}{queue}\) |
Link |
\(\textcolor{#52C41A}{pritority} \textcolor{#52C41A}{\_} \textcolor{#52C41A}{queue}\) |
Link |
\(\textcolor{#52C41A}{vector}\) |
Link |
| \(\textcolor{#9D3DCF}{bitset}\) |
Link |
|
|
|
|
搜索
常见搜索
| \(\textcolor{#3498DB}{bfs}\) |
Link |
\(\textcolor{#3498DB}{dfs}\) |
Link |
\(\textcolor{#3498DB}{A^*}\) |
Link |
| \(\textcolor{#3498DB}{IDA^*}\) |
Link |
\(\textcolor{#3498DB}{DLX}\) |
Link |
\(\textcolor{#3498DB}{记忆化搜索}\) |
Link |
| \(\textcolor{#3498DB}{剪枝}\) |
Link |
\(\textcolor{#3498DB}{随机化搜索}\) |
Link |
|
|
特殊搜索
| \(\textcolor{#3498DB}{模拟退火}\) |
Link |
\(\textcolor{#3498DB}{遗传算法}\) |
Link |
\(\textcolor{#3498DB}{爬山算法}\) |
Link |
字符串
KMP
| \(\textcolor{#3498DB}{KMP}\) |
Link |
\(\textcolor{#3498DB}{exKMP}\) |
Link |
AC自动机
| \(\textcolor{#3498DB}{AC自动机}\) |
Link |
\(\textcolor{#3498DB}{Fail树}\) |
Link |
后缀系列
| \(\textcolor{#9D3DCF}{后缀数组(倍增)}\) |
Link |
\(\textcolor{#9D3DCF}{后缀数组(DC3)}\) |
Link |
\(\textcolor{#9D3DCF}{后缀自动机}\) |
Link |
| \(\textcolor{#9D3DCF}{后缀树}\) |
Link |
\(\textcolor{#9D3DCF}{后缀平衡树}\) |
Link |
\(\textcolor{#9D3DCF}{后缀仙人掌}\) |
Link |
字符串Hash
| \(\textcolor{#52C41A}{字符串Hash}\) |
Link |
Trie树
| \(\textcolor{#3498DB}{Trie树}\) |
Link |
\(\textcolor{#9D3DCF}{可持久化Trie树}\) |
Link |
manacher
| \(\textcolor{#3498DB}{manacher}\) |
Link |
回文自动机
| \(\textcolor{#9D3DCF}{回文自动机}\) |
Link |
最小表示法
| \(\textcolor{#3498DB}{最小表示法}\) |
Link |
几何(大题)
| \(\textcolor{#9D3DCF}{基础知识(喵)}\) |
Link |
\(\textcolor{#9D3DCF}{向量}\) |
Link |
\(\textcolor{#9D3DCF}{凸包}\) |
Link |
| \(\textcolor{#9D3DCF}{旋转卡壳}\) |
Link |
\(\textcolor{#9D3DCF}{半平面交}\) |
Link |
\(\textcolor{#9D3DCF}{随机增量}\) |
Link |
| \(\textcolor{#9D3DCF}{Pick定理}\) |
Link |
\(\textcolor{#9D3DCF}{梯形划分\&三角形划分}\) |
Link |
\(\textcolor{#9D3DCF}{扫描线}\) |
Link |
数论(大爹)
基础知识
| \(\textcolor{#FFC116}{\%理论}\) |
Link |
\(\textcolor{#FFC116}{积性函数}\) |
Link |
\(\textcolor{#FFC116}{高中数学知识}\) |
Link |
素数
| \(\textcolor{#52C41A}{暴力判素数}\) |
Link |
\(\textcolor{#9D3DCF}{Miller-Rabbin素数检测}\) |
Link |
\(\textcolor{#52C41A}{埃拉托色尼筛}\) |
Link |
| \(\textcolor{#52C41A}{欧拉筛(线性筛)}\) |
Link |
\(\textcolor{#52C41A}{分解质因数}\) |
Link |
|
|
欧拉函数
| \(\textcolor{#3498DB}{sqrt(n)求单个值的欧拉函数}\) |
Link |
\(\textcolor{#3498DB}{线性筛欧拉函数}\) |
Link |
\(\textcolor{#3498DB}{欧拉定理}\) |
Link |
幂
| \(\textcolor{#52C41A}{快速幂}\) |
Link |
\(\textcolor{#52C41A}{慢速幂}\) |
Link |
gcd
| \(\textcolor{#52C41A}{辗转相除法}\) |
Link |
\(\textcolor{#3498DB}{扩展欧几里得(exgcd)}\) |
Link |
中国剩余定理(CRT)
| \(\textcolor{#3498DB}{互质版}\) |
Link |
\(\textcolor{#9D3DCF}{不互质版}\) |
Link |
矩阵
| \(\textcolor{#3498DB}{矩阵快速幂}\) |
Link |
\(\textcolor{#9D3DCF}{矩阵求逆}\) |
Link |
行列式
| \(\textcolor{#9D3DCF}{行列式}\) |
Link |
莫比乌斯反演
| \(\textcolor{#9D3DCF}{莫比乌斯反演}\) |
Link |
\(\textcolor{#9D3DCF}{莫比乌斯函数}\) |
Link |
狄利克雷卷积
| \(\textcolor{#9D3DCF}{狄利克雷卷积}\) |
Link |
容斥原理
| \(\textcolor{#52C41A}{抽屉原理(鸽巢原理)}\) |
Link |
\(\textcolor{#3498DB}{Ramsey原理}\) |
Link |
费马小定理
| \(\textcolor{#3498DB}{费马小定理}\) |
Link |
逆元
| \(\textcolor{#3498DB}{线性求逆元}\) |
Link |
\(\textcolor{#3498DB}{exgcd求逆元}\) |
Link |
\(\textcolor{#3498DB}{费马小定理求逆元}\) |
Link |
高斯消元
| \(\textcolor{#3498DB}{高斯消元}\) |
Link |
线性基
| \(\textcolor{#3498DB}{线性基}\) |
Link |
排列组合
| \(\textcolor{#52C41A}{杨辉三角}\) |
Link |
\(\textcolor{#9D3DCF}{Lucas定理}\) |
Link |
\(\textcolor{#9D3DCF}{exLucas定理}\) |
Link |
BSGS
| \(\textcolor{#9D3DCF}{BSGS}\) |
Link |
\(\textcolor{#9D3DCF}{exBSGS}\) |
Link |
数列
| \(\textcolor{#52C41A}{斐波那契数列}\) |
Link |
\(\textcolor{#52C41A}{卡特兰数}\) |
Link |
\(\textcolor{#3498DB}{斯特林数}\) |
Link |
| \(\textcolor{#3498DB}{贝尔数}\) |
Link |
\(\textcolor{#52C41A}{等差、等比数列}\) |
Link |
|
|
Pólya定理
| \(\textcolor{#9D3DCF}{Pólya定理}\) |
Link |
置换群
| \(\textcolor{#9D3DCF}{置换群}\) |
Link |
原根
| \(\textcolor{#9D3DCF}{原根}\) |
Link |
快速傅里叶变换(FFT)
| \(\textcolor{#9D3DCF}{快速傅里叶变换(FFT)}\) |
Link |
\(\textcolor{#9D3DCF}{快速数论变换(NTT)}\) |
Link |
\(\textcolor{#9D3DCF}{快速沃尔什变换(FWT)}\) |
Link |
拉格朗日
| \(\textcolor{#9D3DCF}{拉格朗日乘子法}\) |
Link |
\(\textcolor{#9D3DCF}{拉格朗日插值}\) |
Link |
\(\textcolor{#9D3DCF}{拉格朗日四平方和定理}\) |
Link |
线性规划
| \(\textcolor{#9D3DCF}{线性规划}\) |
Link |
单纯性
| \(\textcolor{#9D3DCF}{单纯性}\) |
Link |
辛普森积分
| \(\textcolor{#9D3DCF}{辛普森积分}\) |
Link |
概率和期望
| \(\textcolor{#3498DB}{概率和期望}\) |
Link |
动态规划(DP)
经典dp
| \(\textcolor{#52C41A}{简单dp}\) |
Link |
\(\textcolor{#52C41A}{背包dp}\) |
Link |
\(\textcolor{#52C41A}{区间dp}\) |
Link |
特殊dp
| \(\textcolor{#52C41A}{普通状压}\) |
Link |
\(\textcolor{#9D3DCF}{斯坦纳树}\) |
Link |
\(\textcolor{#9D3DCF}{插头dp}\) |
Link |
| \(\textcolor{#3498DB}{数位dp}\) |
Link |
\(\textcolor{#3498DB}{树形dp}\) |
Link |
\(\textcolor{#3498DB}{环形dp}\) |
Link |
| \(\textcolor{#3498DB}{环+外向树上的dp}\) |
Link |
\(\textcolor{#3498DB}{期望dp}\) |
Link |
\(\textcolor{#3498DB}{记忆化dp}\) |
Link |
| \(\textcolor{#3498DB}{DAG上的dp}\) |
Link |
\(\textcolor{#3498DB}{多维dp}\) |
Link |
\(\textcolor{#3498DB}{dp套dp}\) |
Link |
dp优化
| \(\textcolor{#9D3DCF}{斜率优化}\) |
Link |
\(\textcolor{#3498DB}{四边形不等式优化}\) |
Link |
\(\textcolor{#3498DB}{数据结构优化dp}\) |
Link |
| \(\textcolor{#3498DB}{改变状态优化dp}\) |
Link |
\(\textcolor{#3498DB}{寻址dp}\) |
Link |
|
|
其他算法及思想
思想
| \(\textcolor{#52C41A}{二分}\) |
Link |
\(\textcolor{#52C41A}{三分}\) |
Link |
\(\textcolor{#9D3DCF}{整体二分}\) |
Link |
| \(\textcolor{#3498DB}{倍增}\) |
Link |
\(\textcolor{#52C41A}{贪心}\) |
Link |
\(\textcolor{#52C41A}{枚举}\) |
Link |
| \(\textcolor{#52C41A}{分治}\) |
Link |
\(\textcolor{#52C41A}{离散化}\) |
Link |
\(\textcolor{#52C41A}{分块}\) |
Link |
排序
| \(\textcolor{#52C41A}{快排}\) |
Link |
\(\textcolor{#52C41A}{归并排序}\) |
Link |
\(\textcolor{#52C41A}{桶排}\) |
Link |
| \(\textcolor{#52C41A}{基数排序}\) |
Link |
\(\textcolor{#52C41A}{计数排序}\) |
Link |
\(\textcolor{#52C41A}{插入排序}\) |
Link |
| \(\textcolor{#52C41A}{选择排序}\) |
Link |
\(\textcolor{#52C41A}{冒泡排序}\) |
Link |
|
|
前缀和
| \(\textcolor{#52C41A}{前缀和}\) |
Link |
高精度
| \(\textcolor{#52C41A}{高精度}\) |
Link |
递推、递归
| \(\textcolor{#52C41A}{递推、递归}\) |
Link |
\(\textcolor{#3498DB}{矩阵加速递推}\) |
Link |
位运算
| \(\textcolor{#52C41A}{位运算}\) |
Link |
莫队
| \(\textcolor{#9D3DCF}{莫队及进阶莫队}\) |
Link |
\(\textcolor{#9D3DCF}{树上莫队}\) |
Link |
卡常
