版本比较
计划(2025)
版本
更早的 132 个版本
- v132
- v131
- v130
- v129
- v128
- v127
- v126
- v125
- v124
- v123
- v122
- v121
- v120
- v119
- v118
- v117
- v116
- v115
- v114
- v113
- v112
- v111
- v110
- v109
- v108
- v107
- v106
- v105
- v104
- v103
- v102
- v101
- v100
- v99
- v98
- v97
- v96
- v95
- v94
- v93
- v92
- v91
- v90
- v89
- v88
- v87
- v86
- v85
- v84
- v83
- v82
- v81
- v80
- v79
- v78
- v77
- v76
- v75
- v74
- v73
- v72
- v71
- v70
- v69
- v68
- v67
- v66
- v65
- v64
- v63
- v62
- v61
- v60
- v59
- v58
- v57
- v56
- v55
- v54
- v53
- v52
- v51
- v50
- v49
- v48
- v47
- v46
- v45
- v44
- v43
- v42
- v41
- v40
- v39
- v38
- v37
- v36
- v35
- v34
- v33
- v32
- v31
- v30
- v29
- v28
- v27
- v26
- v25
- v24
- v23
- v22
- v21
- v20
- v19
- v18
- v17
- v16
- v15
- v14
- v13
- v12
- v11
- v10
- v9
- v8
- v7
- v6
- v5
- v4
- v3
- v2
- v1
标题
增加 1 行删除 1 行
11计划计划(2025)正文
增加 250 行删除 91 行
32 行未改动3334353637373839404142434443444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712845464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154696 行未改动全部展开85185285385483383483583685585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499532 行未改动| ^ | [AtCoder Beginner Contest 440](https://atcoder.jp/contests/abc440) | C 题解:发现 $W$ 很烦,使用累加消除 $W$ 的影响即可。D 题解:二分套二分。 | $\color{red}{+134}$ $\text{380/10207}$ || $\text{2026/1/17}$ | [『LHB-OI』Round 1](https://www.luogu.com.cn/contest/302723) | T2 题解:记 $P_i = \prod_{l=1}^{i} a_{l}^{\,2^{\,i-l}}$。可以发现 $P_i = P_{i-1}^2 \cdot a_i \pmod M$。双重求和部分 $=(\sum_{i=1}^{k-1} P_i)^2$。直接维护即可。T1 题解:显然问题关于 $x$ 独立,拆分成独立的一维问题。枚举 $\lfloor k/w \rfloor$,双指针即可。 | $\text{UnRated}$ $\text{39/373}$ || ^ | [『GTOI』Round 2](https://www.luogu.com.cn/contest/298257) | T2 题解:先把连续的提交代码时间段合并。然后直接贪心。T4 题解:针对前五个子任务共七十分的数据,可以直接采用 $O(NQ)$ 的暴力模拟做法。对于修改操作,直接遍历数组进行区间取反;对于查询操作,利用栈线性扫描区间内的字符,遇到 `0` 入栈,遇到 `1` 则尝试与栈顶 `0` 匹配消除,否则入栈。统计最后剩余的 `0` 和 `1` 的数量,结合区间长度 $len$,利用组合数学中的反射原理公式 $\binom{len}{k} - \binom{len}{k+1}$(其中 $k=(len+c_0+c_1)/2$)计算答案,该做法能够在 $N,Q \le 5000$ 或 $Q=1$ 的限制下不超时从而拿到全部分数。 | $\text{UnRated}$ $\text{99/1493}$ || ^ | [AtCoder Beginner Contest 441 (Promotion of Engineer Guild Fes)](https://atcoder.jp/contests/abc441) | D 题解:直接爆搜。C 题解:肯定从最大的开始选。E 题解:将 `A` 看成 $-1$,`B` 看成 $1$, `C` 看成 $0$。前缀和后做逆序对。 | $\color{red}{+31}$ $\text{1509/9909}$ || $\color{green}{2026/1/18}$ | [【LGR-262-Div.2】洛谷 1 月月赛 III](https://www.luogu.com.cn/contest/302393) | T2 题解:先从小到大排序,然后就是简单的了。 | $\color{green}{-??}$ $\text{235/1916}$ || $\color{green}{2026/1/18}$ | [【LGR-262-Div.2】洛谷 1 月月赛 III](https://www.luogu.com.cn/contest/302393) | T2 题解:先从小到大排序,然后就是简单的了。 | $\color{green}{-5}$ $\text{235/1916}$ || $\text{2026/1/24}$ | [【LGR-261-Div.2】洛谷 1 月月赛 Ⅳ & WAOI Round 9)](https://www.luogu.com.cn/contest/266133) | 太困难。T1 题解:输出每个字符离上一个相同字符的距离的最小值。 | $\color{red}{+14}$ $\text{121/1470}$ || ^ | [JPRS Programming Contest 2026#1 (AtCoder Beginner Contest 442)](https://atcoder.jp/contests/abc442) | 会的题目都很显然。 | $\color{red}{+0}$ $\text{2422/9872}$ |
:::align{center}## 计划表:::
| 日期 | 知识点 | 题目 | 难度 || :--------------------------------------------: | :-----------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------: || $\text{2025/11/8}$ | 【7】笛卡尔树 | [P7972](https://www.luogu.com.cn/problem/P7972),[P2171](https://www.luogu.com.cn/problem/P2171),[P5854](https://www.luogu.com.cn/problem/P5854),[P1377](https://www.luogu.com.cn/problem/P1377) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || ^ | 【7】扫描线 | [P8648](https://www.luogu.com.cn/problem/P8648),[P1884](https://www.luogu.com.cn/problem/P1884),[P10814](https://www.luogu.com.cn/problem/P10814),[P12247](https://www.luogu.com.cn/problem/P12247),[P5490](https://www.luogu.com.cn/problem/P5490) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/11/9}$ | 【6】分治算法 (根号) | [P12751](https://www.luogu.com.cn/problem/P12751),[P8572](https://www.luogu.com.cn/problem/P8572) | $\small{\color{green} 普及+/提高}$ || ^ | 【6】分治算法 (CDQ) | [P3120](https://www.luogu.com.cn/problem/P3120),[P5459](https://www.luogu.com.cn/problem/P5459) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/11/10} \sim \text{2025/11/11}$ | 【6】分治算法 (点分治) | [P4149](https://www.luogu.com.cn/problem/P4149),[P4178](https://www.luogu.com.cn/problem/P4178),[P3806](https://www.luogu.com.cn/problem/P3806) | $\small{\color{blue} 提高+/省选-}$ || $\text{2025/11/12} \sim \text{2025/11/13}$ | 【7】状压 DP | [P2150](https://www.luogu.com.cn/problem/P2150),[P2566](https://www.luogu.com.cn/problem/P2566),[P2157](https://www.luogu.com.cn/problem/P2157) | $\small{\color{purple} 省选/NOI-}$ || $\text{2025/11/16}$ | 【7】容斥原理 | [P13561](https://www.luogu.com.cn/problem/P13561),[P8725](https://www.luogu.com.cn/problem/P8725),[P12137](https://www.luogu.com.cn/problem/P12137),[P11000](https://www.luogu.com.cn/problem/P11000),[P7893](https://www.luogu.com.cn/problem/P7893),[P8557](https://www.luogu.com.cn/problem/P8557) | $\small{\color{orange} 普及-}$ $\sim$ $\small{\color{yellow} 普及/提高-}$ || $\text{2025/11/17}$ | ^ | [P2429](https://www.luogu.com.cn/problem/P2429),[P3801](https://www.luogu.com.cn/problem/P3801),[P6298](https://www.luogu.com.cn/problem/P6298),[P6600](https://www.luogu.com.cn/problem/P6600) | $\small{\color{green} 普及+/提高}$ || $\text{2025/11/18}$ $\sim$ $\text{2025/11/19}$ | ^ | [P5628](https://www.luogu.com.cn/problem/P5628),[P10986](https://www.luogu.com.cn/problem/P10986),[P3455](https://www.luogu.com.cn/problem/P3455) | $\small{\color{blue} 提高+/省选-}$ || $\text{2025/11/20}$ $\sim$ $\text{2025/11/21}$ | 【5】bitset | [P4306](https://www.luogu.com.cn/problem/P4306),[P10914](https://www.luogu.com.cn/problem/P10914),[P11911](https://www.luogu.com.cn/problem/P11911),[P2170](https://www.luogu.com.cn/problem/P2170),[B3695](https://www.luogu.com.cn/problem/B3695) | $\small{\color{yellow} 普及/提高-}$ || $\text{2025/11/22}$ | 【6】ST 表 | [P2412](https://www.luogu.com.cn/problem/P2412),[B4222](https://www.luogu.com.cn/problem/B4222),[P4392](https://www.luogu.com.cn/problem/P4392),[P12241](https://www.luogu.com.cn/problem/P12241),[P13934](https://www.luogu.com.cn/problem/P13934) | ^ || ^ | ^ | [P1668](https://www.luogu.com.cn/problem/P1668),[P5629](https://www.luogu.com.cn/problem/P5629) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/11/23}$ | 【6】树形 DP | [P10135](https://www.luogu.com.cn/problem/P10135),[P1922](https://www.luogu.com.cn/problem/P1922),[P2899](https://www.luogu.com.cn/problem/P2899),[B4016](https://www.luogu.com.cn/problem/B4016),[B4275](https://www.luogu.com.cn/problem/B4275),[B4311](https://www.luogu.com.cn/problem/B4311) | $\small{\color{yellow} 普及/提高-}$ || $\text{2025/11/24}$ | 【无】Ad-hoc(虚低中位绿) | [P14524](https://www.luogu.com.cn/problem/P14524),[P9578](https://www.luogu.com.cn/problem/P9578),[P9635](https://www.luogu.com.cn/problem/P9635),[P9913](https://www.luogu.com.cn/problem/P9913),[P10031](https://www.luogu.com.cn/problem/P10031) | ^ || $\text{2025/11/25}$ | 【无】随机 上位黄 $\sim$ 虚低中位绿 练习 | [P11683](https://www.luogu.com.cn/problem/P11683),[P13906](https://www.luogu.com.cn/problem/P13906),[P11379](https://www.luogu.com.cn/problem/P11379),[P9533](https://www.luogu.com.cn/problem/P9533) | ^ || $\text{2025/11/26}$ | 【无】Ad-hoc(上位绿) | [P11132](https://www.luogu.com.cn/problem/P11132),[P9820](https://www.luogu.com.cn/problem/P9820),[P8957](https://www.luogu.com.cn/problem/P8957),[P5427](https://www.luogu.com.cn/problem/P5427) | $\small{\color{green} 普及+/提高}$ || ^ | ^ | [P10032](https://www.luogu.com.cn/problem/P10032),[P11397](https://www.luogu.com.cn/problem/P11397),[P13686](https://www.luogu.com.cn/problem/P13686),[B3981](https://www.luogu.com.cn/problem/B3981) | ^ || $\text{2025/11/29}$ | 【6】最短路 | [P9484](https://www.luogu.com.cn/problem/P9484),[P1576](https://www.luogu.com.cn/problem/P1576),[P1821](https://www.luogu.com.cn/problem/P1821),[P5651](https://www.luogu.com.cn/problem/P5651) | $\small{\color{orange} 普及-}$ $\sim$ $\small{\color{yellow} 普及/提高-}$ || ^ | ^ | [P1673](https://www.luogu.com.cn/problem/P1673),[P2888](https://www.luogu.com.cn/problem/P2888),[P2951](https://www.luogu.com.cn/problem/P2951),[P3905](https://www.luogu.com.cn/problem/P3905),[P5764](https://www.luogu.com.cn/problem/P5764),[P1690](https://www.luogu.com.cn/problem/P1690) | $\small{\color{yellow} 普及/提高-}$ || $\text{2025/11/30}$ | ^ | [P13271](https://www.luogu.com.cn/problem/P13271),[P1144](https://www.luogu.com.cn/problem/P1144) | $\small{\color{green} 普及+/提高}$ || ^ | ^ | [P11892](https://www.luogu.com.cn/problem/P11892),[P4366](https://www.luogu.com.cn/problem/P4366) | $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/1}$ | 【8】计算几何 | [P1652](https://www.luogu.com.cn/problem/P1652),[P7042](https://www.luogu.com.cn/problem/P7042),[P7127](https://www.luogu.com.cn/problem/P7127) | $\small{\color{orange} 普及-}$ || $\text{2025/12/2}$ | 【6】hash | [B4200](https://www.luogu.com.cn/problem/B4200),[P7055](https://www.luogu.com.cn/problem/P7055),[P12871](https://www.luogu.com.cn/problem/P12871),[P12946](https://www.luogu.com.cn/problem/P12946) | ^ || ^ | ^ | [B4241](https://www.luogu.com.cn/problem/B4241),[P5149](https://www.luogu.com.cn/problem/P5149),[P12509](https://www.luogu.com.cn/problem/P12509),[P11412](https://www.luogu.com.cn/problem/P11412) | $\small{\color{yellow} 普及/提高-}$ || $\text{2025/12/3}$ | ^ | [P10469](https://www.luogu.com.cn/problem/P10469),[P3618](https://www.luogu.com.cn/problem/P3618),[P12198](https://www.luogu.com.cn/problem/P12198),[P12197](https://www.luogu.com.cn/problem/P12197) | $\small{\color{green} 普及+/提高}$ || $\text{2025/12/4}$ | 【6】并查集 | [P14077](https://www.luogu.com.cn/problem/P14077),[P1455](https://www.luogu.com.cn/problem/P1455),[P2078](https://www.luogu.com.cn/problem/P2078),[P3144](https://www.luogu.com.cn/problem/P3144) | $\small{\color{yellow} 普及/提高-}$ || $\text{2025/12/5}$ | ^ | [P9565](https://www.luogu.com.cn/problem/P9565),[P12698](https://www.luogu.com.cn/problem/P12698),[P1892](https://www.luogu.com.cn/problem/P1892),[P13823](https://www.luogu.com.cn/problem/P13823) | $\small{\color{green} 普及+/提高}$ || $\text{2025/12/6}$ | ^ | [P6185](https://www.luogu.com.cn/problem/P6185),[P2391](https://www.luogu.com.cn/problem/P2391) | $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/7}$ | 【无】素数判断,质数,筛法 | [P2092](https://www.luogu.com.cn/problem/P2092),[P3200](https://www.luogu.com.cn/problem/P3200),[P10404](https://www.luogu.com.cn/problem/P10404),[P10498](https://www.luogu.com.cn/problem/P10498) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/8}$ | 【7】卡特兰数 | [P1641](https://www.luogu.com.cn/problem/P1641),[P3978](https://www.luogu.com.cn/problem/P3978),[P1976](https://www.luogu.com.cn/problem/P1976) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2025/12/9}$ | 【8】分块 | [P13977](https://www.luogu.com.cn/problem/P13977),[P13976](https://www.luogu.com.cn/problem/P13976),[P13979](https://www.luogu.com.cn/problem/P13979),[P13983](https://www.luogu.com.cn/problem/P13983) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/10}$ | ^ | [P5356](https://www.luogu.com.cn/problem/P5356),[P13978](https://www.luogu.com.cn/problem/P13978),[P13980](https://www.luogu.com.cn/problem/P13980),[P13981](https://www.luogu.com.cn/problem/P13981) | $\small{\color{blue} 提高+/省选-}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2025/12/11}$ | 【6】字典树 | [P11209](https://www.luogu.com.cn/problem/P11209),[P6824](https://www.luogu.com.cn/problem/P6824),[P7335](https://www.luogu.com.cn/problem/P7335),[P13308](https://www.luogu.com.cn/problem/P13308) | $\small{\color{green} 普及+/提高}$ || $\text{2025/12/12}$ | ^ | [P13895](https://www.luogu.com.cn/problem/P13895),[P7502](https://www.luogu.com.cn/problem/P7502),[P9934](https://www.luogu.com.cn/problem/P9934),[P11799](https://www.luogu.com.cn/problem/P11799) | $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/13}$ | ^ | [P13874](https://www.luogu.com.cn/problem/P13874),[P7717](https://www.luogu.com.cn/problem/P7717),[P1688](https://www.luogu.com.cn/problem/P1688),[P4471](https://www.luogu.com.cn/problem/P4471) | ^ || ^ | 【无】组合数学 | [P12369](https://www.luogu.com.cn/problem/P12369),[P12840](https://www.luogu.com.cn/problem/P12840),[P1655](https://www.luogu.com.cn/problem/P1655),[P8788](https://www.luogu.com.cn/problem/P8788),[B2164](https://www.luogu.com.cn/problem/B2164),[P12885](https://www.luogu.com.cn/problem/P12885),[P8469](https://www.luogu.com.cn/problem/P8469),[P7157](https://www.luogu.com.cn/problem/P7157) | $\small{\color{orange} 普及-}$ $\sim$ $\small{\color{green} 普及+/提高}$ || $\text{2025/12/14}$ | ^ | [P14568](https://www.luogu.com.cn/problem/P14568),[P11159](https://www.luogu.com.cn/problem/P11159),[P1680](https://www.luogu.com.cn/problem/P1680) ,[P2265](https://www.luogu.com.cn/problem/P2265) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/15}$ | 【无】01 分数规划 | [P10505](https://www.luogu.com.cn/problem/P10505),[P1404](https://www.luogu.com.cn/problem/P1404),[P2868](https://www.luogu.com.cn/problem/P2868),[P3874](https://www.luogu.com.cn/problem/P3874) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/16}$ | 【无】期望 | [P9217](https://www.luogu.com.cn/problem/P9217),[P11046](https://www.luogu.com.cn/problem/P11046),[P5011](https://www.luogu.com.cn/problem/P5011),[P6046](https://www.luogu.com.cn/problem/P6046) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/17}$ | 【无】博弈论 | [B4393](https://www.luogu.com.cn/problem/B4393),[P10187](https://www.luogu.com.cn/problem/P10187),[P11143](https://www.luogu.com.cn/problem/P11143),[P13221](https://www.luogu.com.cn/problem/P13221) | $\small{\color{orange} 普及-}$ $\sim$ $\small{\color{yellow} 普及/提高-}$ || $\text{2025/12/18}$ | ^ | [P4136](https://www.luogu.com.cn/problem/P4136),[P8144](https://www.luogu.com.cn/problem/P8144),[P8966](https://www.luogu.com.cn/problem/P8966),[P14059](https://www.luogu.com.cn/problem/P14059) | $\small{\color{green} 普及+/提高}$ || $\text{2025/12/19}$ | 【无】莫队 | [P1997](https://www.luogu.com.cn/problem/P1997),[P4137](https://www.luogu.com.cn/problem/P4137),[P6782](https://www.luogu.com.cn/problem/P6782) | $\small{\color{blue} 提高+/省选-}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2025/12/20}$ | 【6】线段树 | [P3184](https://www.luogu.com.cn/problem/P3184),[P4086](https://www.luogu.com.cn/problem/P4086),[P2781](https://www.luogu.com.cn/problem/P2781),[P3948](https://www.luogu.com.cn/problem/P3948),[P11078](https://www.luogu.com.cn/problem/P11078),[P1204](https://www.luogu.com.cn/problem/P1204),[B4374](https://www.luogu.com.cn/problem/B4374) | $\small{\color{orange} 普及-}$ $\sim$ $\small{\color{green} 普及+/提高}$ || ^ | ^ | [P3939](https://www.luogu.com.cn/problem/P3939),[P12372](https://www.luogu.com.cn/problem/P12372),[P6327](https://www.luogu.com.cn/problem/P6327),[P2418](https://www.luogu.com.cn/problem/P2418) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/21}$ | ^ | [P2787](https://www.luogu.com.cn/problem/P2787),[P7334](https://www.luogu.com.cn/problem/P7334),[P14761](https://www.luogu.com.cn/problem/P14761) | $\small{\color{blue} 提高+/省选-}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2025/12/22}$ | 【6】优先队列 | [P2107](https://www.luogu.com.cn/problem/P2107),[P9588](https://www.luogu.com.cn/problem/P9588),[P12149](https://www.luogu.com.cn/problem/P12149),[P8896](https://www.luogu.com.cn/problem/P8896) | $\small{\color{green} 普及+/提高}$ || $\text{2025/12/23}$ | 【无】反悔贪心 | [P11328](https://www.luogu.com.cn/problem/P11328),[P3620](https://www.luogu.com.cn/problem/P3620),[P3545](https://www.luogu.com.cn/problem/P3545) | $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/24}$ | 【6】单调队列 | [P9769](https://www.luogu.com.cn/problem/P9769),[P3512](https://www.luogu.com.cn/problem/P3512),[P5858](https://www.luogu.com.cn/problem/P5858),[P6510](https://www.luogu.com.cn/problem/P6510) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{green} 普及+/提高}$ || $\text{2025/12/25}$ | ^ | [P12000](https://www.luogu.com.cn/problem/P12000),[P12882](https://www.luogu.com.cn/problem/P12882),[P3411](https://www.luogu.com.cn/problem/P3411),[P10407](https://www.luogu.com.cn/problem/P10407) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/26}$ | ^ | [P3957](https://www.luogu.com.cn/problem/P3957),[P8945](https://www.luogu.com.cn/problem/P8945),[P10119](https://www.luogu.com.cn/problem/P10119),[P1295](https://www.luogu.com.cn/problem/P1295) | $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/27}$ | 【无】Ad-hoc | [P10567](https://www.luogu.com.cn/problem/P10567),[P9656](https://www.luogu.com.cn/problem/P9656),[P8942](https://www.luogu.com.cn/problem/P8942),[B3759](https://www.luogu.com.cn/problem/B3759),[P10444](https://www.luogu.com.cn/problem/P10444) | $\small{\color{orange} 普及-}$ $\sim$ $\small{\color{yellow} 普及/提高-}$ || ^ | 【无】数据结构优化贪心 | [P3602](https://www.luogu.com.cn/problem/P3602),[P5749](https://www.luogu.com.cn/problem/P5749) | $\small{\color{blue} 提高+/省选-}$ || ^ | 【无】随机 GESP 练习 | [P13018](https://www.luogu.com.cn/problem/P13018),[P13016](https://www.luogu.com.cn/problem/P13016),[P13014](https://www.luogu.com.cn/problem/P13014) | $\small{\color{orange} 普及-}$ $\sim$ $\small{\color{yellow} 普及/提高-}$ || ^ | ^ | [P14076](https://www.luogu.com.cn/problem/P14076),[P14079](https://www.luogu.com.cn/problem/P14079),[P14080](https://www.luogu.com.cn/problem/P14080) | $\small{\color{orange} 普及-}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/28}$ | ^ | [P14074](https://www.luogu.com.cn/problem/P14074),[P14078](https://www.luogu.com.cn/problem/P14078),[P14075](https://www.luogu.com.cn/problem/P14075) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{green} 普及+/提高}$ || $\text{2025/12/29}$ | ^ | [P13020](https://www.luogu.com.cn/problem/P13020),[P13019](https://www.luogu.com.cn/problem/P13019),[P11967](https://www.luogu.com.cn/problem/P11967) | $\small{\color{green} 普及+/提高}$ || $\text{2025/12/30}$ | ^ | [P10725](https://www.luogu.com.cn/problem/P10725),[P10724](https://www.luogu.com.cn/problem/P10724),[P10723](https://www.luogu.com.cn/problem/P10723) | ^ || $\text{2025/12/31}$ | ^ | [B4070](https://www.luogu.com.cn/problem/B4070),[B4071](https://www.luogu.com.cn/problem/B4071),[P11378](https://www.luogu.com.cn/problem/P11378),[P10287](https://www.luogu.com.cn/problem/P10287),[B4050](https://www.luogu.com.cn/problem/B4050) | $\small{\color{yellow} 普及/提高-}$ || $\color{red}{2026/1/1}$ | 【8】原根和指数 | [P10515](https://www.luogu.com.cn/problem/P10515),[P11961](https://www.luogu.com.cn/problem/P11961),[P6091](https://www.luogu.com.cn/problem/P6091) | $\small{\color{blue} 提高+/省选-}$ || $\text{2026/1/2}$ | 【无】DP 的优化 | [P2569](https://www.luogu.com.cn/problem/P2569),[P1973](https://www.luogu.com.cn/problem/P1973),[P10976](https://www.luogu.com.cn/problem/P10976),[P10978](https://www.luogu.com.cn/problem/P10978) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2026/1/3}$ | ^ | [P3800](https://www.luogu.com.cn/problem/P3800),[P2365](https://www.luogu.com.cn/problem/P2365),[P5785](https://www.luogu.com.cn/problem/P5785),[P8632](https://www.luogu.com.cn/problem/P8632) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2026/1/4}$ | ^ | [P4072](https://www.luogu.com.cn/problem/P4072),[P4027](https://www.luogu.com.cn/problem/P4027),[P14827](https://www.luogu.com.cn/problem/P14827),[P10381](https://www.luogu.com.cn/problem/P10381) | $\small{\color{blue} 提高+/省选-}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2026/1/5}$ | 【无】近期比赛补题 | [P14762](https://www.luogu.com.cn/problem/P14762),[P14828](https://www.luogu.com.cn/problem/P14828),[P14938](https://www.luogu.com.cn/problem/P14938),[P14952](https://www.luogu.com.cn/problem/P14952) | $\small{\color{blue} 提高+/省选-}$ $\sim$ $\small{\color{black} NOI/NOI+/CTSC}$ || $\text{2026/1/6}$ | ^ | [P14665](https://www.luogu.com.cn/problem/P14665),[P14666](https://www.luogu.com.cn/problem/P14666),[P14577](https://www.luogu.com.cn/problem/P14577),[P14573](https://www.luogu.com.cn/problem/P14573) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2026/1/7}$ | 【无】随机 GESP 练习 | [P14921](https://www.luogu.com.cn/problem/P14921),[P14922](https://www.luogu.com.cn/problem/P14922) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{green} 普及+/提高}$ || $\text{2026/1/8}$ | ^ | [P14923](https://www.luogu.com.cn/problem/P14923),[P14924](https://www.luogu.com.cn/problem/P14924) | $\small{\color{green} 普及+/提高}$ || $\text{2026/1/9}$ | ^ | [P10262](https://www.luogu.com.cn/problem/P10262),[P10288](https://www.luogu.com.cn/problem/P10288) | $\small{\color{yellow} 普及/提高-}$ || $\text{2026/1/10}$ | ^ | [P10264](https://www.luogu.com.cn/problem/P10264),[P10289](https://www.luogu.com.cn/problem/P10289),[P13017](https://www.luogu.com.cn/problem/P13017) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{green} 普及+/提高}$ || ^ | ^ | [P10263](https://www.luogu.com.cn/problem/P10263),[B3930](https://www.luogu.com.cn/problem/B3930),[P11965](https://www.luogu.com.cn/problem/P11965) | $\small{\color{yellow} 普及/提高-}$ || ^ | 【无】四边形不等式 | [P1775](https://www.luogu.com.cn/problem/P1775),[P3515](https://www.luogu.com.cn/problem/P3515) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2026/1/11}$ | 【无】李超线段树 | [P4097](https://www.luogu.com.cn/problem/P4097),[P4254](https://www.luogu.com.cn/problem/P4254) | $\small{\color{purple} 省选/NOI-}$ || ^ | ^ | [P4655](https://www.luogu.com.cn/problem/P4655) | ^ || $\text{2026/1/12}$ | ^ | [P11958](https://www.luogu.com.cn/problem/P11958),[P11014](https://www.luogu.com.cn/problem/P11014) | ^ || $\text{2026/1/13}$ | ^ | [P11896](https://www.luogu.com.cn/problem/P11896),[P11728](https://www.luogu.com.cn/problem/P11728) | ^ || $\text{2026/1/14}$ | ^ | [P4069](https://www.luogu.com.cn/problem/P4069),[P13798](https://www.luogu.com.cn/problem/P13798) | ^ || $\text{2026/1/15}$ | 【无】近期比赛补题 | [P14763](https://www.luogu.com.cn/problem/P14763),[P14960](https://www.luogu.com.cn/problem/P14960),[P14962](https://www.luogu.com.cn/problem/P14962),[P14963](https://www.luogu.com.cn/problem/P14963) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2026/1/16}$ | ^ | [P8148](https://www.luogu.com.cn/problem/P8148),[P8149](https://www.luogu.com.cn/problem/P8149),[P8150](https://www.luogu.com.cn/problem/P8150) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2026/1/17}$ | 【无】吉司机线段树 | [P10639](https://www.luogu.com.cn/problem/P10639),[P10638](https://www.luogu.com.cn/problem/P10638) | $\small{\color{purple} 省选/NOI-}$ || ^ | ^ | [P6242](https://www.luogu.com.cn/problem/P6242) | ^ || $\text{2026/1/18}$ | 【8】网络流 | [P3376](https://www.luogu.com.cn/problem/P3376),[P2756](https://www.luogu.com.cn/problem/P2756),[P2763](https://www.luogu.com.cn/problem/P2763) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || ^ | ^ | [P1402](https://www.luogu.com.cn/problem/P1402),[P2055](https://www.luogu.com.cn/problem/P2055),[P1231](https://www.luogu.com.cn/problem/P1231) | $\small{\color{blue} 提高+/省选-}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2026/1/19}$ | ^ | [P3355](https://www.luogu.com.cn/problem/P3355),[P4015](https://www.luogu.com.cn/problem/P4015) | $\small{\color{blue} 提高+/省选-}$ || $\text{2026/1/20}$ | ^ | [P4015](https://www.luogu.com.cn/problem/P4015),[P1251](https://www.luogu.com.cn/problem/P1251) | $\small{\color{blue} 提高+/省选-}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ |
| 日期 | 知识点 | 题目 | 难度 || :--------------------------------------------: | :-----------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------: || $\text{2025/11/8}$ | 【7】笛卡尔树 | [P7972](https://www.luogu.com.cn/problem/P7972),[P2171](https://www.luogu.com.cn/problem/P2171),[P5854](https://www.luogu.com.cn/problem/P5854),[P1377](https://www.luogu.com.cn/problem/P1377) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || ^ | 【7】扫描线 | [P8648](https://www.luogu.com.cn/problem/P8648),[P1884](https://www.luogu.com.cn/problem/P1884),[P10814](https://www.luogu.com.cn/problem/P10814),[P12247](https://www.luogu.com.cn/problem/P12247),[P5490](https://www.luogu.com.cn/problem/P5490) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/11/9}$ | 【6】分治算法 (根号) | [P12751](https://www.luogu.com.cn/problem/P12751),[P8572](https://www.luogu.com.cn/problem/P8572) | $\small{\color{green} 普及+/提高}$ || ^ | 【6】分治算法 (CDQ) | [P3120](https://www.luogu.com.cn/problem/P3120),[P5459](https://www.luogu.com.cn/problem/P5459) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/11/10} \sim \text{2025/11/11}$ | 【6】分治算法 (点分治) | [P4149](https://www.luogu.com.cn/problem/P4149),[P4178](https://www.luogu.com.cn/problem/P4178),[P3806](https://www.luogu.com.cn/problem/P3806) | $\small{\color{blue} 提高+/省选-}$ || $\text{2025/11/12} \sim \text{2025/11/13}$ | 【7】状压 DP | [P2150](https://www.luogu.com.cn/problem/P2150),[P2566](https://www.luogu.com.cn/problem/P2566),[P2157](https://www.luogu.com.cn/problem/P2157) | $\small{\color{purple} 省选/NOI-}$ || $\text{2025/11/16}$ | 【7】容斥原理 | [P13561](https://www.luogu.com.cn/problem/P13561),[P8725](https://www.luogu.com.cn/problem/P8725),[P12137](https://www.luogu.com.cn/problem/P12137),[P11000](https://www.luogu.com.cn/problem/P11000),[P7893](https://www.luogu.com.cn/problem/P7893),[P8557](https://www.luogu.com.cn/problem/P8557) | $\small{\color{orange} 普及-}$ $\sim$ $\small{\color{yellow} 普及/提高-}$ || $\text{2025/11/17}$ | ^ | [P2429](https://www.luogu.com.cn/problem/P2429),[P3801](https://www.luogu.com.cn/problem/P3801),[P6298](https://www.luogu.com.cn/problem/P6298),[P6600](https://www.luogu.com.cn/problem/P6600) | $\small{\color{green} 普及+/提高}$ || $\text{2025/11/18}$ $\sim$ $\text{2025/11/19}$ | ^ | [P5628](https://www.luogu.com.cn/problem/P5628),[P10986](https://www.luogu.com.cn/problem/P10986),[P3455](https://www.luogu.com.cn/problem/P3455) | $\small{\color{blue} 提高+/省选-}$ || $\text{2025/11/20}$ $\sim$ $\text{2025/11/21}$ | 【5】bitset | [P4306](https://www.luogu.com.cn/problem/P4306),[P10914](https://www.luogu.com.cn/problem/P10914),[P11911](https://www.luogu.com.cn/problem/P11911),[P2170](https://www.luogu.com.cn/problem/P2170),[B3695](https://www.luogu.com.cn/problem/B3695) | $\small{\color{yellow} 普及/提高-}$ || $\text{2025/11/22}$ | 【6】ST 表 | [P2412](https://www.luogu.com.cn/problem/P2412),[B4222](https://www.luogu.com.cn/problem/B4222),[P4392](https://www.luogu.com.cn/problem/P4392),[P12241](https://www.luogu.com.cn/problem/P12241),[P13934](https://www.luogu.com.cn/problem/P13934) | ^ || ^ | ^ | [P1668](https://www.luogu.com.cn/problem/P1668),[P5629](https://www.luogu.com.cn/problem/P5629) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/11/23}$ | 【6】树形 DP | [P10135](https://www.luogu.com.cn/problem/P10135),[P1922](https://www.luogu.com.cn/problem/P1922),[P2899](https://www.luogu.com.cn/problem/P2899),[B4016](https://www.luogu.com.cn/problem/B4016),[B4275](https://www.luogu.com.cn/problem/B4275),[B4311](https://www.luogu.com.cn/problem/B4311) | $\small{\color{yellow} 普及/提高-}$ || $\text{2025/11/24}$ | 【无】Ad-hoc(虚低中位绿) | [P14524](https://www.luogu.com.cn/problem/P14524),[P9578](https://www.luogu.com.cn/problem/P9578),[P9635](https://www.luogu.com.cn/problem/P9635),[P9913](https://www.luogu.com.cn/problem/P9913),[P10031](https://www.luogu.com.cn/problem/P10031) | ^ || $\text{2025/11/25}$ | 【无】随机 上位黄 $\sim$ 虚低中位绿 练习 | [P11683](https://www.luogu.com.cn/problem/P11683),[P13906](https://www.luogu.com.cn/problem/P13906),[P11379](https://www.luogu.com.cn/problem/P11379),[P9533](https://www.luogu.com.cn/problem/P9533) | ^ || $\text{2025/11/26}$ | 【无】Ad-hoc(上位绿) | [P11132](https://www.luogu.com.cn/problem/P11132),[P9820](https://www.luogu.com.cn/problem/P9820),[P8957](https://www.luogu.com.cn/problem/P8957),[P5427](https://www.luogu.com.cn/problem/P5427) | $\small{\color{green} 普及+/提高}$ || ^ | ^ | [P10032](https://www.luogu.com.cn/problem/P10032),[P11397](https://www.luogu.com.cn/problem/P11397),[P13686](https://www.luogu.com.cn/problem/P13686),[B3981](https://www.luogu.com.cn/problem/B3981) | ^ || $\text{2025/11/29}$ | 【6】最短路 | [P9484](https://www.luogu.com.cn/problem/P9484),[P1576](https://www.luogu.com.cn/problem/P1576),[P1821](https://www.luogu.com.cn/problem/P1821),[P5651](https://www.luogu.com.cn/problem/P5651) | $\small{\color{orange} 普及-}$ $\sim$ $\small{\color{yellow} 普及/提高-}$ || ^ | ^ | [P1673](https://www.luogu.com.cn/problem/P1673),[P2888](https://www.luogu.com.cn/problem/P2888),[P2951](https://www.luogu.com.cn/problem/P2951),[P3905](https://www.luogu.com.cn/problem/P3905),[P5764](https://www.luogu.com.cn/problem/P5764),[P1690](https://www.luogu.com.cn/problem/P1690) | $\small{\color{yellow} 普及/提高-}$ || $\text{2025/11/30}$ | ^ | [P13271](https://www.luogu.com.cn/problem/P13271),[P1144](https://www.luogu.com.cn/problem/P1144) | $\small{\color{green} 普及+/提高}$ || ^ | ^ | [P11892](https://www.luogu.com.cn/problem/P11892),[P4366](https://www.luogu.com.cn/problem/P4366) | $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/1}$ | 【8】计算几何 | [P1652](https://www.luogu.com.cn/problem/P1652),[P7042](https://www.luogu.com.cn/problem/P7042),[P7127](https://www.luogu.com.cn/problem/P7127) | $\small{\color{orange} 普及-}$ || $\text{2025/12/2}$ | 【6】hash | [B4200](https://www.luogu.com.cn/problem/B4200),[P7055](https://www.luogu.com.cn/problem/P7055),[P12871](https://www.luogu.com.cn/problem/P12871),[P12946](https://www.luogu.com.cn/problem/P12946) | ^ || ^ | ^ | [B4241](https://www.luogu.com.cn/problem/B4241),[P5149](https://www.luogu.com.cn/problem/P5149),[P12509](https://www.luogu.com.cn/problem/P12509),[P11412](https://www.luogu.com.cn/problem/P11412) | $\small{\color{yellow} 普及/提高-}$ || $\text{2025/12/3}$ | ^ | [P10469](https://www.luogu.com.cn/problem/P10469),[P3618](https://www.luogu.com.cn/problem/P3618),[P12198](https://www.luogu.com.cn/problem/P12198),[P12197](https://www.luogu.com.cn/problem/P12197) | $\small{\color{green} 普及+/提高}$ || $\text{2025/12/4}$ | 【6】并查集 | [P14077](https://www.luogu.com.cn/problem/P14077),[P1455](https://www.luogu.com.cn/problem/P1455),[P2078](https://www.luogu.com.cn/problem/P2078),[P3144](https://www.luogu.com.cn/problem/P3144) | $\small{\color{yellow} 普及/提高-}$ || $\text{2025/12/5}$ | ^ | [P9565](https://www.luogu.com.cn/problem/P9565),[P12698](https://www.luogu.com.cn/problem/P12698),[P1892](https://www.luogu.com.cn/problem/P1892),[P13823](https://www.luogu.com.cn/problem/P13823) | $\small{\color{green} 普及+/提高}$ || $\text{2025/12/6}$ | ^ | [P6185](https://www.luogu.com.cn/problem/P6185),[P2391](https://www.luogu.com.cn/problem/P2391) | $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/7}$ | 【无】素数判断,质数,筛法 | [P2092](https://www.luogu.com.cn/problem/P2092),[P3200](https://www.luogu.com.cn/problem/P3200),[P10404](https://www.luogu.com.cn/problem/P10404),[P10498](https://www.luogu.com.cn/problem/P10498) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/8}$ | 【7】卡特兰数 | [P1641](https://www.luogu.com.cn/problem/P1641),[P3978](https://www.luogu.com.cn/problem/P3978),[P1976](https://www.luogu.com.cn/problem/P1976) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2025/12/9}$ | 【8】分块 | [P13977](https://www.luogu.com.cn/problem/P13977),[P13976](https://www.luogu.com.cn/problem/P13976),[P13979](https://www.luogu.com.cn/problem/P13979),[P13983](https://www.luogu.com.cn/problem/P13983) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/10}$ | ^ | [P5356](https://www.luogu.com.cn/problem/P5356),[P13978](https://www.luogu.com.cn/problem/P13978),[P13980](https://www.luogu.com.cn/problem/P13980),[P13981](https://www.luogu.com.cn/problem/P13981) | $\small{\color{blue} 提高+/省选-}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2025/12/11}$ | 【6】字典树 | [P11209](https://www.luogu.com.cn/problem/P11209),[P6824](https://www.luogu.com.cn/problem/P6824),[P7335](https://www.luogu.com.cn/problem/P7335),[P13308](https://www.luogu.com.cn/problem/P13308) | $\small{\color{green} 普及+/提高}$ || $\text{2025/12/12}$ | ^ | [P13895](https://www.luogu.com.cn/problem/P13895),[P7502](https://www.luogu.com.cn/problem/P7502),[P9934](https://www.luogu.com.cn/problem/P9934),[P11799](https://www.luogu.com.cn/problem/P11799) | $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/13}$ | ^ | [P13874](https://www.luogu.com.cn/problem/P13874),[P7717](https://www.luogu.com.cn/problem/P7717),[P1688](https://www.luogu.com.cn/problem/P1688),[P4471](https://www.luogu.com.cn/problem/P4471) | ^ || ^ | 【无】组合数学 | [P12369](https://www.luogu.com.cn/problem/P12369),[P12840](https://www.luogu.com.cn/problem/P12840),[P1655](https://www.luogu.com.cn/problem/P1655),[P8788](https://www.luogu.com.cn/problem/P8788),[B2164](https://www.luogu.com.cn/problem/B2164),[P12885](https://www.luogu.com.cn/problem/P12885),[P8469](https://www.luogu.com.cn/problem/P8469),[P7157](https://www.luogu.com.cn/problem/P7157) | $\small{\color{orange} 普及-}$ $\sim$ $\small{\color{green} 普及+/提高}$ || $\text{2025/12/14}$ | ^ | [P14568](https://www.luogu.com.cn/problem/P14568),[P11159](https://www.luogu.com.cn/problem/P11159),[P1680](https://www.luogu.com.cn/problem/P1680) ,[P2265](https://www.luogu.com.cn/problem/P2265) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/15}$ | 【无】01 分数规划 | [P10505](https://www.luogu.com.cn/problem/P10505),[P1404](https://www.luogu.com.cn/problem/P1404),[P2868](https://www.luogu.com.cn/problem/P2868),[P3874](https://www.luogu.com.cn/problem/P3874) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/16}$ | 【无】期望 | [P9217](https://www.luogu.com.cn/problem/P9217),[P11046](https://www.luogu.com.cn/problem/P11046),[P5011](https://www.luogu.com.cn/problem/P5011),[P6046](https://www.luogu.com.cn/problem/P6046) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/17}$ | 【无】博弈论 | [B4393](https://www.luogu.com.cn/problem/B4393),[P10187](https://www.luogu.com.cn/problem/P10187),[P11143](https://www.luogu.com.cn/problem/P11143),[P13221](https://www.luogu.com.cn/problem/P13221) | $\small{\color{orange} 普及-}$ $\sim$ $\small{\color{yellow} 普及/提高-}$ || $\text{2025/12/18}$ | ^ | [P4136](https://www.luogu.com.cn/problem/P4136),[P8144](https://www.luogu.com.cn/problem/P8144),[P8966](https://www.luogu.com.cn/problem/P8966),[P14059](https://www.luogu.com.cn/problem/P14059) | $\small{\color{green} 普及+/提高}$ || $\text{2025/12/19}$ | 【无】莫队 | [P1997](https://www.luogu.com.cn/problem/P1997),[P4137](https://www.luogu.com.cn/problem/P4137),[P6782](https://www.luogu.com.cn/problem/P6782) | $\small{\color{blue} 提高+/省选-}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2025/12/20}$ | 【6】线段树 | [P3184](https://www.luogu.com.cn/problem/P3184),[P4086](https://www.luogu.com.cn/problem/P4086),[P2781](https://www.luogu.com.cn/problem/P2781),[P3948](https://www.luogu.com.cn/problem/P3948),[P11078](https://www.luogu.com.cn/problem/P11078),[P1204](https://www.luogu.com.cn/problem/P1204),[B4374](https://www.luogu.com.cn/problem/B4374) | $\small{\color{orange} 普及-}$ $\sim$ $\small{\color{green} 普及+/提高}$ || ^ | ^ | [P3939](https://www.luogu.com.cn/problem/P3939),[P12372](https://www.luogu.com.cn/problem/P12372),[P6327](https://www.luogu.com.cn/problem/P6327),[P2418](https://www.luogu.com.cn/problem/P2418) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/21}$ | ^ | [P2787](https://www.luogu.com.cn/problem/P2787),[P7334](https://www.luogu.com.cn/problem/P7334),[P14761](https://www.luogu.com.cn/problem/P14761) | $\small{\color{blue} 提高+/省选-}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2025/12/22}$ | 【6】优先队列 | [P2107](https://www.luogu.com.cn/problem/P2107),[P9588](https://www.luogu.com.cn/problem/P9588),[P12149](https://www.luogu.com.cn/problem/P12149),[P8896](https://www.luogu.com.cn/problem/P8896) | $\small{\color{green} 普及+/提高}$ || $\text{2025/12/23}$ | 【无】反悔贪心 | [P11328](https://www.luogu.com.cn/problem/P11328),[P3620](https://www.luogu.com.cn/problem/P3620),[P3545](https://www.luogu.com.cn/problem/P3545) | $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/24}$ | 【6】单调队列 | [P9769](https://www.luogu.com.cn/problem/P9769),[P3512](https://www.luogu.com.cn/problem/P3512),[P5858](https://www.luogu.com.cn/problem/P5858),[P6510](https://www.luogu.com.cn/problem/P6510) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{green} 普及+/提高}$ || $\text{2025/12/25}$ | ^ | [P12000](https://www.luogu.com.cn/problem/P12000),[P12882](https://www.luogu.com.cn/problem/P12882),[P3411](https://www.luogu.com.cn/problem/P3411),[P10407](https://www.luogu.com.cn/problem/P10407) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/26}$ | ^ | [P3957](https://www.luogu.com.cn/problem/P3957),[P8945](https://www.luogu.com.cn/problem/P8945),[P10119](https://www.luogu.com.cn/problem/P10119),[P1295](https://www.luogu.com.cn/problem/P1295) | $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/27}$ | 【无】Ad-hoc | [P10567](https://www.luogu.com.cn/problem/P10567),[P9656](https://www.luogu.com.cn/problem/P9656),[P8942](https://www.luogu.com.cn/problem/P8942),[B3759](https://www.luogu.com.cn/problem/B3759),[P10444](https://www.luogu.com.cn/problem/P10444) | $\small{\color{orange} 普及-}$ $\sim$ $\small{\color{yellow} 普及/提高-}$ || ^ | 【无】数据结构优化贪心 | [P3602](https://www.luogu.com.cn/problem/P3602),[P5749](https://www.luogu.com.cn/problem/P5749) | $\small{\color{blue} 提高+/省选-}$ || ^ | 【无】随机 GESP 练习 | [P13018](https://www.luogu.com.cn/problem/P13018),[P13016](https://www.luogu.com.cn/problem/P13016),[P13014](https://www.luogu.com.cn/problem/P13014) | $\small{\color{orange} 普及-}$ $\sim$ $\small{\color{yellow} 普及/提高-}$ || ^ | ^ | [P14076](https://www.luogu.com.cn/problem/P14076),[P14079](https://www.luogu.com.cn/problem/P14079),[P14080](https://www.luogu.com.cn/problem/P14080) | $\small{\color{orange} 普及-}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || $\text{2025/12/28}$ | ^ | [P14074](https://www.luogu.com.cn/problem/P14074),[P14078](https://www.luogu.com.cn/problem/P14078),[P14075](https://www.luogu.com.cn/problem/P14075) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{green} 普及+/提高}$ || $\text{2025/12/29}$ | ^ | [P13020](https://www.luogu.com.cn/problem/P13020),[P13019](https://www.luogu.com.cn/problem/P13019),[P11967](https://www.luogu.com.cn/problem/P11967) | $\small{\color{green} 普及+/提高}$ || $\text{2025/12/30}$ | ^ | [P10725](https://www.luogu.com.cn/problem/P10725),[P10724](https://www.luogu.com.cn/problem/P10724),[P10723](https://www.luogu.com.cn/problem/P10723) | ^ || $\text{2025/12/31}$ | ^ | [B4070](https://www.luogu.com.cn/problem/B4070),[B4071](https://www.luogu.com.cn/problem/B4071),[P11378](https://www.luogu.com.cn/problem/P11378),[P10287](https://www.luogu.com.cn/problem/P10287),[B4050](https://www.luogu.com.cn/problem/B4050) | $\small{\color{yellow} 普及/提高-}$ || $\color{red}{2026/1/1}$ | 【8】原根和指数 | [P10515](https://www.luogu.com.cn/problem/P10515),[P11961](https://www.luogu.com.cn/problem/P11961),[P6091](https://www.luogu.com.cn/problem/P6091) | $\small{\color{blue} 提高+/省选-}$ || $\text{2026/1/2}$ | 【无】DP 的优化 | [P2569](https://www.luogu.com.cn/problem/P2569),[P1973](https://www.luogu.com.cn/problem/P1973),[P10976](https://www.luogu.com.cn/problem/P10976),[P10978](https://www.luogu.com.cn/problem/P10978) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2026/1/3}$ | ^ | [P3800](https://www.luogu.com.cn/problem/P3800),[P2365](https://www.luogu.com.cn/problem/P2365),[P5785](https://www.luogu.com.cn/problem/P5785),[P8632](https://www.luogu.com.cn/problem/P8632) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2026/1/4}$ | ^ | [P4072](https://www.luogu.com.cn/problem/P4072),[P4027](https://www.luogu.com.cn/problem/P4027),[P14827](https://www.luogu.com.cn/problem/P14827),[P10381](https://www.luogu.com.cn/problem/P10381) | $\small{\color{blue} 提高+/省选-}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2026/1/5}$ | 【无】近期比赛补题 | [P14762](https://www.luogu.com.cn/problem/P14762),[P14828](https://www.luogu.com.cn/problem/P14828),[P14938](https://www.luogu.com.cn/problem/P14938),[P14952](https://www.luogu.com.cn/problem/P14952) | $\small{\color{blue} 提高+/省选-}$ $\sim$ $\small{\color{black} NOI/NOI+/CTSC}$ || $\text{2026/1/6}$ | ^ | [P14665](https://www.luogu.com.cn/problem/P14665),[P14666](https://www.luogu.com.cn/problem/P14666),[P14577](https://www.luogu.com.cn/problem/P14577),[P14573](https://www.luogu.com.cn/problem/P14573) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2026/1/7}$ | 【无】随机 GESP 练习 | [P14921](https://www.luogu.com.cn/problem/P14921),[P14922](https://www.luogu.com.cn/problem/P14922) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{green} 普及+/提高}$ || $\text{2026/1/8}$ | ^ | [P14923](https://www.luogu.com.cn/problem/P14923),[P14924](https://www.luogu.com.cn/problem/P14924) | $\small{\color{green} 普及+/提高}$ || $\text{2026/1/9}$ | ^ | [P10262](https://www.luogu.com.cn/problem/P10262),[P10288](https://www.luogu.com.cn/problem/P10288) | $\small{\color{yellow} 普及/提高-}$ || $\text{2026/1/10}$ | ^ | [P10264](https://www.luogu.com.cn/problem/P10264),[P10289](https://www.luogu.com.cn/problem/P10289),[P13017](https://www.luogu.com.cn/problem/P13017) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{green} 普及+/提高}$ || ^ | ^ | [P10263](https://www.luogu.com.cn/problem/P10263),[B3930](https://www.luogu.com.cn/problem/B3930),[P11965](https://www.luogu.com.cn/problem/P11965) | $\small{\color{yellow} 普及/提高-}$ || ^ | 【无】四边形不等式 | [P1775](https://www.luogu.com.cn/problem/P1775),[P3515](https://www.luogu.com.cn/problem/P3515) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2026/1/11}$ | 【无】李超线段树 | [P4097](https://www.luogu.com.cn/problem/P4097),[P4254](https://www.luogu.com.cn/problem/P4254) | $\small{\color{purple} 省选/NOI-}$ || ^ | ^ | [P4655](https://www.luogu.com.cn/problem/P4655) | ^ || $\text{2026/1/12}$ | ^ | [P11958](https://www.luogu.com.cn/problem/P11958),[P11014](https://www.luogu.com.cn/problem/P11014) | ^ || $\text{2026/1/13}$ | ^ | [P11896](https://www.luogu.com.cn/problem/P11896),[P11728](https://www.luogu.com.cn/problem/P11728) | ^ || $\text{2026/1/14}$ | ^ | [P4069](https://www.luogu.com.cn/problem/P4069),[P13798](https://www.luogu.com.cn/problem/P13798) | ^ || $\text{2026/1/15}$ | 【无】近期比赛补题 | [P14763](https://www.luogu.com.cn/problem/P14763),[P14960](https://www.luogu.com.cn/problem/P14960),[P14962](https://www.luogu.com.cn/problem/P14962),[P14963](https://www.luogu.com.cn/problem/P14963) | $\small{\color{yellow} 普及/提高-}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2026/1/16}$ | ^ | [P8148](https://www.luogu.com.cn/problem/P8148),[P8149](https://www.luogu.com.cn/problem/P8149),[P8150](https://www.luogu.com.cn/problem/P8150) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2026/1/17}$ | 【无】吉司机线段树 | [P10639](https://www.luogu.com.cn/problem/P10639),[P10638](https://www.luogu.com.cn/problem/P10638) | $\small{\color{purple} 省选/NOI-}$ || ^ | ^ | [P6242](https://www.luogu.com.cn/problem/P6242) | ^ || $\text{2026/1/18}$ | 【8】网络流 | [P3376](https://www.luogu.com.cn/problem/P3376),[P2756](https://www.luogu.com.cn/problem/P2756),[P2763](https://www.luogu.com.cn/problem/P2763) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{blue} 提高+/省选-}$ || ^ | ^ | [P1402](https://www.luogu.com.cn/problem/P1402),[P2055](https://www.luogu.com.cn/problem/P2055),[P1231](https://www.luogu.com.cn/problem/P1231) | $\small{\color{blue} 提高+/省选-}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2026/1/19}$ | ^ | [P3355](https://www.luogu.com.cn/problem/P3355),[P4015](https://www.luogu.com.cn/problem/P4015) | $\small{\color{blue} 提高+/省选-}$ || $\text{2026/1/20}$ | ^ | [P4009](https://www.luogu.com.cn/problem/P4009),[P1251](https://www.luogu.com.cn/problem/P1251) | $\small{\color{blue} 提高+/省选-}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2026/1/21}$ | ^ | [P2766](https://www.luogu.com.cn/problem/P2766),[P2754](https://www.luogu.com.cn/problem/P2754) | $\small{\color{purple} 省选/NOI-}$ || $\text{2026/1/22}$ | ^ | [P4012](https://www.luogu.com.cn/problem/P4012),[P2764](https://www.luogu.com.cn/problem/P2764) | ^ || $\text{2026/1/23}$ | ^ | [P4013](https://www.luogu.com.cn/problem/P4013),[P2762](https://www.luogu.com.cn/problem/P2762) | ^ || $\text{2026/1/24}$ | 【8】重链剖分 | [P3384](https://www.luogu.com.cn/problem/P3384),[P3038](https://www.luogu.com.cn/problem/P3038) | $\small{\color{blue} 提高+/省选-}$ || ^ | ^ | [P5838](https://www.luogu.com.cn/problem/P5838),[P3459](https://www.luogu.com.cn/problem/P3459) | ^ || $\text{2026/1/25}$ | ^ | [P3976](https://www.luogu.com.cn/problem/P3976),[P2486](https://www.luogu.com.cn/problem/P2486),[P3979](https://www.luogu.com.cn/problem/P3979),[P4216](https://www.luogu.com.cn/problem/P4216) | $\small{\color{purple} 省选/NOI-}$ || $\text{2026/1/26}$ | 【无】近期比赛补题 | [P15014](https://www.luogu.com.cn/problem/P15014),[P14972](https://www.luogu.com.cn/problem/P14972),[P15013](https://www.luogu.com.cn/problem/P15013),[P15015](https://www.luogu.com.cn/problem/P15015) | $\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || $\text{2026/1/27}$ | 【无】线段树合并 | [P4556](https://www.luogu.com.cn/problem/P4556),[P3224](https://www.luogu.com.cn/problem/P3224) | $\small{\color{purple} 省选/NOI-}$ || $\text{2026/1/29}$ | ^ | [P7581](https://www.luogu.com.cn/problem/P7581) | ^ || $\text{2026/1/30}$ | ^ | [P10795](https://www.luogu.com.cn/problem/P10795),[P8844](https://www.luogu.com.cn/problem/P8844) | $\small{\color{blue} 提高+/省选-}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || ^ | ^ | [P3521](https://www.luogu.com.cn/problem/P3521),[P7323](https://www.luogu.com.cn/problem/P7323) | ^ || $\text{2026/1/31}$ | ^ | [P6773](https://www.luogu.com.cn/problem/P6773) | $\small{\color{black} NOI/NOI+/CTSC}$ || $\text{2026/2/1}$ | ^ | [P4577](https://www.luogu.com.cn/problem/P4577),[P8959](https://www.luogu.com.cn/problem/P8959) | $\small{\color{purple} 省选/NOI-}$ $\sim$ $\small{\color{black} NOI/NOI+/CTSC}$ || ^ | 【无】USACO | <https://www.luogu.com.cn/contest/306851>(200) | $\small{\color{green} 普及+/提高}$ || $\text{2026/2/2}$ | ^ | <https://www.luogu.com.cn/contest/307514>(100) | ^ || $\text{2026/2/13}$ | 【无】克鲁斯卡尔重构树 | [P4768](https://www.luogu.com.cn/problem/P4768),[P1967](https://www.luogu.com.cn/problem/P1967),[P9235](https://www.luogu.com.cn/problem/P9235),[P11907](https://www.luogu.com.cn/problem/P11907) | $\small{\color{blue} 提高+/省选-}$ $\sim$ $\small{\color{purple} 省选/NOI-}$ || ^ | 【无】同余最短路 | [P2371](https://www.luogu.com.cn/problem/P2371),[P3403](https://www.luogu.com.cn/problem/P3403),[P2662](https://www.luogu.com.cn/problem/P2662) | $\small{\color{blue} 提高+/省选-}$ || $\text{2026/2/14}$ | ^ | [P9140](https://www.luogu.com.cn/problem/P9140) | $\small{\color{purple} 省选/NOI-}$ || ^ | 【无】线段树优化建图 | [P3588](https://www.luogu.com.cn/problem/P3588),[P9331](https://www.luogu.com.cn/problem/P9331) | ^ || $\text{2026/2/15}$ | ^ | [P6348](https://www.luogu.com.cn/problem/P6348),[P7984](https://www.luogu.com.cn/problem/P7984) | ^ || ^ | 【无】近期比赛补题|<https://www.luogu.com.cn/contest/309581>(T2~T5)|$\small{\color{green} 普及+/提高}$ $\sim$ $\small{\color{purple} 省选/NOI-}$|:::align{center}## 做题记录:::
696 行未改动全部展开| [P4015](https://www.luogu.com.cn/problem/P4015) | 费用流板子。 | [AC](https://www.luogu.com.cn/record/258263326) |
$\text{2026/1/20}$:
| 题目链接 | 详细题解 | AC 链接 || :--: | :--: | :---: || | | || | | || 题目链接 | 题解 | AC 链接 || :---------------------------------------------: | :-: | :---------------------------------------------: || [P4009](https://www.luogu.com.cn/problem/P4009) | 暂无 | [AC](https://www.luogu.com.cn/record/258372456) || [P1251](https://www.luogu.com.cn/problem/P1251) | ^ | [AC](https://www.luogu.com.cn/record/258374956) |
$\text{2026/1/21}$:
| 题目链接 | 题解 | AC 链接 || :---------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------: || [P2766](https://www.luogu.com.cn/problem/P2766) | 先跑一次 DP,DP 结果为 $f$ 数组。然后暴力连边,加上虚点限制每个点的出流只能为 $1$。源点与 $f_i=1$ 的点相连,$f_i=s$ 的点与汇点相连;点与点之间根据 $f$ 的转移方式连边。第三问只需取消 $1$ 和 $n$ 的部分流量限制。 | [AC](https://www.luogu.com.cn/record/258474619) || [P2754](https://www.luogu.com.cn/problem/P2754) | 按时间分层,连边,跑最大流即可,对于无解的判断可以用并查集。 | [AC](https://www.luogu.com.cn/record/258485720) |
$\text{2026/1/22}$:
| 题目链接 | 题解 | AC 链接 || :---------------------------------------------: | :---------------------------------------------------------------------------------------: | :---------------------------------------------: || [P4012](https://www.luogu.com.cn/problem/P4012) | 如果只看每一个点,这题就是典型的方格取数问题,考虑最大费用最大流。建两种边:$cap=1,cost=w$, $cap=\inf,cost=0$。多起点终点套路地建立超级源汇即可。 | [AC](https://www.luogu.com.cn/record/258594993) || [P2764](https://www.luogu.com.cn/problem/P2764) | 首先将原图用 $n$ 条路径覆盖,现在尽量合并更多的路径。可以知道,每合并两条路径,图中的路径覆盖数就会减少 $1$。使用网络流合并即可。 | [AC](https://www.luogu.com.cn/record/258595794) |
$\text{2026/1/23}$:
| 题目链接 | 题解 | AC 链接 || :---------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------: || [P4013](https://www.luogu.com.cn/problem/P4013) | 考虑最大费用最大流。规则一:将每个点拆成两个点 $X<i,j>$ 和 $Y<i,j>$,$X \to Y$ 容量为 $1$,费用为该点本身的数值,层间连边 $Y \to X$ 容量为 $1$ 费用为 $0$,建立超级源汇点。规则二:不再拆点,层间连边容量为 $1$ 费用为**边的起点的**点权,但底层点向 $T$ 连边的容量需改为 $\inf$,**且费用也需改为该点的数值**。规则三:在规则二建图的基础上,将不与 $S$ 相连的边的容量改为 $\inf$。[细节](https://www.luogu.com.cn/article/byvcgnqf) | [AC](https://www.luogu.com.cn/record/258674446) || [P2762](https://www.luogu.com.cn/problem/P2762) | 建图是简单的,用最大流来做最小割。 | [AC](https://www.luogu.com.cn/record/258700164) |
$\text{2026/1/24}$:
| 题目链接 | 题解 | AC 链接 || :---------------------------------------------: | :-----------------------------------------------------------------------: | :---------------------------------------------: || [P3384](https://www.luogu.com.cn/problem/P3384) | 树剖板子,[处理链操作的代码](https://www.luogu.com.cn/paste/drmgrbsv)。 | [AC](https://www.luogu.com.cn/record/258771078) || [P3038](https://www.luogu.com.cn/problem/P3038) | 边权转点权板子:将边权放在深度较深的点上,当 x 和 y 处于同一条重链时,范围:$[id_x,id_y] \to [id_x+1,id_y]$。 | [AC](https://www.luogu.com.cn/record/258773450) |
---
| 题目链接 | 题解 | AC 链接 || :---------------------------------------------: | :--------------------------------: | :---------------------------------------------: || [P5838](https://www.luogu.com.cn/problem/P5838) | 先上树剖,用 vector 存每一种奶牛的品种对应的下标,直接二分。 | [AC](https://www.luogu.com.cn/record/258860041) || [P3459](https://www.luogu.com.cn/problem/P3459) | 边权转点权板子。 | [AC](https://www.luogu.com.cn/record/258888479) |
$\text{2026/1/25}$:
| 题目链接 | 题解 | AC 链接 || :---------------------------------------------: | :--------------------------------------------------------------------------------------------------: | :---------------------------------------------: || [P4216](https://www.luogu.com.cn/problem/P4216) | 对于询问 $(x,y,c)$,当前时刻 $i$,只需考虑时间不超过 $i-c-1$ 的修改。考虑离线,将询问按 $i-c-1$ 升序排序。用指针扫描修改,加入需要考虑的修改。 | [AC](https://www.luogu.com.cn/record/258944482) || [P2486](https://www.luogu.com.cn/problem/P2486) | 先上树剖,线段树的节点维护左右颜色,颜色段个数,合并时考虑 `tr[k*2].rc=tr[k*2+1].lc` 的情况,查询时额外考虑 `top[a]` 与 `fa[top[a]]` 颜色重复的问题。 | [AC](https://www.luogu.com.cn/record/258953724) |
---
| 题目链接 | 题解 | AC 链接 || :---------------------------------------------: | :-------------------------------------------------------------: | :---------------------------------------------: || [P3976](https://www.luogu.com.cn/problem/P3976) | 先树剖,线段树维护这一段数字从左到右走一遍获得的最大值,以及从右向左走一遍获得的最大值,最大值,最小值。然后类似于小白逛公园。 | [AC](https://www.luogu.com.cn/record/259040050) || [P3979](https://www.luogu.com.cn/problem/P3979) | 树剖换根板子。 | [AC](https://www.luogu.com.cn/record/259053269) |
$\text{2026/1/26}$:
| 题目链接 | 题解 | AC 链接 || :-----------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------: || [P14972](https://www.luogu.com.cn/problem/P14972) | 考虑逐个归位。 | [AC](https://www.luogu.com.cn/record/259096059) || [P15013](https://www.luogu.com.cn/problem/P15013) | 经典 trick。显然合法的局面除了环上的点都不会被指向。先跑拓扑找环。把环上的点标记出来,按照上面的那个结论先筛一轮。因为是森林,所以最后会得到许多互相独立的环。显然只能拼大小相同的环。若 $g$ 个长度为 $s$ 的环拼起来以后是合法的,当且仅当满足 $\gcd (g \times s,k)=g$。直接实现即可。 | [AC](https://www.luogu.com.cn/record/259188298) || [P15015](https://www.luogu.com.cn/problem/P15015) | 考虑枚举构成 LIE 的那个 I。直接插板法。 | [AC](https://www.luogu.com.cn/record/259190123) || [P15014](https://www.luogu.com.cn/problem/P15014) | 往序列里面依次插入 $1$ 到 $n$,用链表维护,如果存在一个位置使得答案不增就直接插入即可,否则找到答案增量最小的位置插入。离线所有询问,能获得 90 分,直接把找到对应位置的次数 >100 的打表存下来,就过了。 | [AC](https://www.luogu.com.cn/record/259190339) |
$\text{2026/1/27}$:
| 题目链接 | 题解 | AC 链接 || :---------------------------------------------: | :---------------------------------------------------------------: | :---------------------------------------------: || [P4556](https://www.luogu.com.cn/problem/P4556) | 考虑差分,求点 $i$ 的权值线段树就是将它所有孩子的线段树合并到一起然后再对合并出来的线段树进行一些在这个节点的插入和删除操作。 | [AC](https://www.luogu.com.cn/record/259330608) || [P3224](https://www.luogu.com.cn/problem/P3224) | 可以对于每一个点动态开点线段树,维护重要度。然后用并查集维护联通性,每次连边或者 Build 就把两棵线段树合并就好了。 | [AC](https://www.luogu.com.cn/record/259331932) |
$\text{2026/1/29}$:
| 题目链接 | 题解 | AC 链接 || :-----------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------: || [P7581](https://www.luogu.com.cn/problem/P7581) | 合并 $u$ 和其儿子 $v$ 所在子树,则对于每个 $dep$,$ans_u=ans_u+ans_v+sum_utot_v+sum_vtot_u-2tot_utot_vdis_u$。启发式合并,将询问挂在节点上。 | [AC](https://www.luogu.com.cn/record/259651092) || [P8844](https://www.luogu.com.cn/problem/P8844) | 线段树合并。一号操作会把前面的一号操作全部覆盖掉。所以考虑离线存每个结点的询问。 | [AC](https://www.luogu.com.cn/record/259700670) || [P10795](https://www.luogu.com.cn/problem/P10795) | 注意到 $t$ 是互不相同的,考虑按 $t$ 降序排列,每次枚举与它右边的节点,如果其的 $t$ 大于当前的 $t$,那么就算贡献。具体的,对于每个点开一颗值域线段树,维护题意中要求满足的条件,即 $v_j \le v_x \le v_i$。算出贡献后,线段树合并即可。 | [AC](https://www.luogu.com.cn/record/259750010) |
---
| 题目链接 | 题解 | AC 链接 || :---------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------: || [P3521](https://www.luogu.com.cn/problem/P3521) | 自下而上考虑是否交换儿子,我们能最小化的只有两个值分别在左子树和右子树的逆序对。用线段树合并维护两个桶 $L$ 和 $R$,分别表示左子树和右子树中各个数的出现次数。是否交换和以后新的逆序对是否构成都无关,所以我们可以让答案直接加上 $\min(e_1,e_2)$。 | [AC](https://www.luogu.com.cn/record/259803422) || [P7373](https://www.luogu.com.cn/problem/P7323) | 可以推出:当 $x \to y$ 存在合法路径,$x \to z$ 存在合法路径,$y \to z$ 也存在合法路径。当存在 $y \to x$ 的左括号,$z \to x$ 的左括号,$y \to z$ 必存在合法路径。启发式合并即可。 | [AC](https://www.luogu.com.cn/record/259845879) |
$\text{2026/1/31}$:
| 题目链接 | 题解 | AC 链接 || :---------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------: || [P6773](https://www.luogu.com.cn/problem/P6773) | 设 $f_{u,i}$ 表示子树 $u$ 中未满足限制的最深上端点深度为 $i$,转移时若不选边 $(u,v)$ 则状态取 $\max(i, j)$,选边则 $v$ 中限制被满足,结合前缀和优化转移方程为 $f'_{u,i} = f_{u,i} (\sum_{j \le i} f_{v,j} + \text{选边贡献}) + f_{v,i} (\sum_{j < i} f_{u,j})$;代码利用线段树维护 DP 数组,核心通过 `hb` 函数进行线段树合并,并在合并过程中维护前缀和 `s1, s2`,利用“若一侧节点为空,则另一侧区间乘数为常数”的性质,对非空子树直接打上乘法标记 (Lazy Tag) 实现 $O(1)$ 批量转移,从而避免 $O(N^2)$ 枚举,将整体复杂度优化至 $O(N \log N)$。 | [AC](https://www.luogu.com.cn/record/259915382) |
$\text{2026/2/1}$:
| 题目链接 | 题解 | AC 链接 || :-----------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------: || [P14979](https://www.luogu.com.cn/problem/P14979) | 显然地,只要确定 $s$ 的前 $k$ 个字符,整个 $s$ 就确定了。进一步地,能够发现,对于每个 $1 \le i \le k$,$s_i$ 确定后,能确定的字符有 $s_{i+k},s_{i+2k},\dots$,故整个字符串被拆成 $k$ 条链,对于每条链,只要确定链头,条链便能确定,且各条链之间相互独立。后面上反贪。 | [AC](https://www.luogu.com.cn/record/260216680) || [P14978](https://www.luogu.com.cn/problem/P14978) | 经典 trick:限制形如两个变量的和或差,我们把限制连边,找出连通块,之后随便钦定一个点的点权是 $x$,看看能否把 $x$ 解出来,是否出现矛盾,如果都没有,就有一个自由的东西可以自己确定。这是裸题。 | [AC](https://www.luogu.com.cn/record/260217976) |
---
| 题目链接 | 题解 | AC 链接 || :---------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------: || [P4577](https://www.luogu.com.cn/problem/P4577) | 启发式合并裸题。核心代码:`it = f[u].lower_bound(w[u]);if(it != f[u].begin()) f[u].erase(--it);`。 | [AC](https://www.luogu.com.cn/record/260223507) || [P8959](https://www.luogu.com.cn/problem/P8959) | 刻画“可以走到 x 的点”这样的条件。:单点插入或删除即单点点权的加减,考虑将单点加转换为对所有可以走到的点加,查询变为单点查。然后考虑对于每个点求出其在每个时刻下的点权,查询答案即为前缀最大值。在每个位置对时间轴维护一个线段树,初始时存下该结点在各时刻点权的变化量。然后按拓扑序将线段树合并,将变化量传递下去,被传递的点又会继续传下去,直到碰见某个无法到达的点。 | [AC](https://www.luogu.com.cn/record/260243491) |
$\text{2026/2/13}$:
| 题目链接 | 题解 | AC 链接 || :-----------------------------------------------: | :----------------------------------------------------------: | :---------------------------------------------: || [P1967](https://www.luogu.com.cn/problem/P1967) | 将 [星际导航](https://www.luogu.com.cn/problem/P2245) 的边权排序方式反过来。 | [AC](https://www.luogu.com.cn/record/262830249) || [P9235](https://www.luogu.com.cn/problem/P9235) | ^ | [AC](https://www.luogu.com.cn/record/262822076) || [P11907](https://www.luogu.com.cn/problem/P11907) | 难写。先将每个餐厅入队列,跑多源 BFS 求出每个点的黑色恐怖距离,三维意义上的点看作一张图,跑板子即可。 | [AC](https://www.luogu.com.cn/record/262830069) || [P4768](https://www.luogu.com.cn/problem/P4768) | 先跑迪杰斯特拉求最短路,然后建立重构树。 | [AC](https://www.luogu.com.cn/record/262839199) |
---
| 题目链接 | 题解 | AC 链接 || :---------------------------------------------: | :---------------------------: | :---------------------------------------------: || [P3403](https://www.luogu.com.cn/problem/P3403) | 板子 | [AC](https://www.luogu.com.cn/record/262893728) || [P2371](https://www.luogu.com.cn/problem/P2371) | 先复制板子并丢掉所有 $0$,模数为数的最小值,连边简单。 | [AC](https://www.luogu.com.cn/record/262907080) || [P2662](https://www.luogu.com.cn/problem/P2662) | ^ | [AC](https://www.luogu.com.cn/record/262914022) |
$\text{2026/2/14}$:
| 题目链接 | 题解 | AC 链接 || :---------------------------------------------: | :-------------------------------------------------------------------------------: | :---------------------------------------------: || [P9140](https://www.luogu.com.cn/problem/P9140) | 选择性价比最高的物品为基准,连边简单,SPFA 被卡了,使用[转两圈](https://www.luogu.com.cn/article/67f6rys1)技巧。 | [AC](https://www.luogu.com.cn/record/262948559) |
---
| 题目链接 | 题解 | AC 链接 || :---------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------: || [P3588](https://www.luogu.com.cn/problem/P3588) | 线段树优化建图。线段树内子节点向父节点连权值为 0 的边表示包含关系,建立约束用的虚拟节点,点和一个线段树上的节点连边。使用拓扑排序求方案。 | [AC](https://www.luogu.com.cn/record/262995984) || [P9331](https://www.luogu.com.cn/problem/P9331) | 显然任何时候解锁的点(可以前往的国家)构成了一个区间,所以要求能抵达所有点等价于能抵达点 $1$ 和 $n$。要求抵达点 $1$ 与点 $n$ 的话,不难想到路径一定是先走共同的一段再分叉然后分别走向点 $1$ 与点 $n$,分叉之后的路径不交,因为如果有交则可以延后分叉点减小代价。考虑建立反图,求解每个点到点 $1$ 与点 $n$ 的最短路,然后再枚举分叉点 | [AC](https://www.luogu.com.cn/record/263014747) |
$\text{2026/2/14}$:
| 题目链接 | 题解 | AC 链接 || :---------------------------------------------: | :-------------------------------------------------------------------------------: | :---------------------------------------------: ||[P6348](https://www.luogu.com.cn/problem/P6348)|建出两棵线段树,进树和出树。进树的点直接连向对应的出树的点,连向绿点的边和绿点连出的边任意一个标权值。|[AC](https://www.luogu.com.cn/record/263040110)||[P7984](https://www.luogu.com.cn/problem/P7984)|注意到一个人不会重复买票,所以我们可以把每种票看作虚拟节点,买票看作从 $c_i$ 到 $i$ 号票边权为 $p_i$ 的边,同时 $i$ 号票向区间 $[a_i,b_i]$ 中的所有点连边权为 $0$ 的边。题目希望求出每个点到达 $1$ 和 $n$ 所需的最小代价,不妨建反图以 $1$ 和 $n$ 为原点分别跑一遍最短路。然而这样会喜提 WA 。因为仍然没有解决重复买票的问题,两条最短路的交集中的所有边被算了两遍。怎么解决?先记当前答案为 $dis_i=d1_i+dn_i$ ,若节点 $u$ 的两条最短路均经过它的邻居 $v$ ,不难发现 $dis_u=dis_v+w$ 。这和单源最短路的松弛本质相同,我们对答案数组重新跑一遍最短路即可。|[AC](https://www.luogu.com.cn/record/263061247)|