同步发表于 P4195 题解。
逆元
Posted on
Symbols count in article: 1k Reading time ≈ 2 mins.
Symbols count in article: 1k Reading time ≈ 2 mins.
比较简单的前置知识。
筛质数
Posted on
Symbols count in article: 3.6k Reading time ≈ 8 mins.
Symbols count in article: 3.6k Reading time ≈ 8 mins.
比较简单的前置知识。
CF Round#758
Posted on
Symbols count in article: 4.3k Reading time ≈ 9 mins.
Symbols count in article: 4.3k Reading time ≈ 9 mins.
比赛记录:ABC Accepted,Scores:1645,Rank #727(似乎有点巧,Fly727
,Rating 829 -> 1239。
改题进度:ABCD Accepted。
【CSP-S 2021 复习】图论总结
Posted on
Symbols count in article: 7k Reading time ≈ 15 mins.
Symbols count in article: 7k Reading time ≈ 15 mins.
这里总结了一些以前没有写过的知识点(主要是因为知识点比较少,就不专门写了),同时对于考纲内的知识点,会附上一些自己的看法。可能有纰漏,望读者指出。
后缀数组
Posted on
Symbols count in article: 9.2k Reading time ≈ 20 mins.
Symbols count in article: 9.2k Reading time ≈ 20 mins.
点分治和点分树
Posted on
Symbols count in article: 9.7k Reading time ≈ 21 mins.
Symbols count in article: 9.7k Reading time ≈ 21 mins.
将来自数组的分治搬到树上。
中国剩余定理
Posted on
Symbols count in article: 886 Reading time ≈ 2 mins.
Symbols count in article: 886 Reading time ≈ 2 mins.
注意公式。
数学基础杂论
Posted on
Symbols count in article: 17k Reading time ≈ 37 mins.
Symbols count in article: 17k Reading time ≈ 37 mins.
P3755
Posted on
Symbols count in article: 904 Reading time ≈ 2 mins.
Symbols count in article: 904 Reading time ≈ 2 mins.
同步发表于 P3755 题解。
CDQ 分治
Posted on
Symbols count in article: 4.2k Reading time ≈ 9 mins.
Symbols count in article: 4.2k Reading time ≈ 9 mins.
同样可以使用二维树状数组。
仙人掌
Posted on
Symbols count in article: 5.8k Reading time ≈ 13 mins.
Symbols count in article: 5.8k Reading time ≈ 13 mins.
同步发表于 P5236 题解。
最小表示法
Posted on
Symbols count in article: 971 Reading time ≈ 2 mins.
Symbols count in article: 971 Reading time ≈ 2 mins.
似乎比较简单的算法。
模拟退火
Posted on
Symbols count in article: 3.7k Reading time ≈ 8 mins.
Symbols count in article: 3.7k Reading time ≈ 8 mins.
骗分大法好!
舞蹈链(DLX)
Posted on
Symbols count in article: 9.8k Reading time ≈ 21 mins.
Symbols count in article: 9.8k Reading time ≈ 21 mins.
题型有两种:精确覆盖与重复覆盖。
状态压缩 DP
Posted on
Symbols count in article: 5.9k Reading time ≈ 13 mins.
Symbols count in article: 5.9k Reading time ≈ 13 mins.
分为两种:基于连通性的 DP(棋盘式)和集合式(表示一个元素是否在集合内)。
区间 DP
Posted on
Symbols count in article: 4.2k Reading time ≈ 9 mins.
Symbols count in article: 4.2k Reading time ≈ 9 mins.
比较灵活的一种 DP,复杂度比较高。
树形 DP
Posted on
Symbols count in article: 4.3k Reading time ≈ 9 mins.
Symbols count in article: 4.3k Reading time ≈ 9 mins.
题型多而杂,我们通过学习例题的方式看一下。
数位 DP
Posted on
Symbols count in article: 6.9k Reading time ≈ 15 mins.
Symbols count in article: 6.9k Reading time ≈ 15 mins.
比较套路的一种 DP。
斜率优化 DP
Posted on
Symbols count in article: 5.2k Reading time ≈ 11 mins.
Symbols count in article: 5.2k Reading time ≈ 11 mins.
DP 优化。