版本比较
CDQZ AK IOI 学习日志
正文
增加 370 行删除 0 行
347 行未改动全部展开348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721347 行未改动全部展开- [P4768 [NOI2018] 归程](https://www.luogu.com.cn/problem/P4768)- [CF1706E Qpwoeirut and Vertices](https://www.luogu.com.cn/problem/CF1706E)- [CF1416D Graph and Queries](https://www.luogu.com.cn/problem/CF1416D):::
## Day 20 - 2026.08.28### 学习内容
1. 整体二分
2. 二维树状数组
### 题目
:::info[Problems On Day 20]- [P3834 【模板】可持久化线段树 2(静态区间第 k 小)](https://www.luogu.com.cn/problem/P3834)- [P1533 可怜的狗狗](https://www.luogu.com.cn/problem/P1533)- [P2617 Dynamic Rankings](https://www.luogu.com.cn/problem/P2617)- [P3527 [POI 2011] MET-Meteors](https://www.luogu.com.cn/problem/P3527)- [P3332 [ZJOI2013] K 大数查询](https://www.luogu.com.cn/problem/P3332)- [P7424 [THUPC 2017] 天天爱射击](https://www.luogu.com.cn/problem/P7424)- [P4602 [CTSC2018] 混合果汁](https://www.luogu.com.cn/problem/P4602)- [P1527 [国家集训队] 矩阵乘法](https://www.luogu.com.cn/problem/P1527):::
## Day 21 - 2026.08.29### 学习内容
1. 可持久化线段树
### 题目
:::info[Problems On Day 21]- [P3834 【模板】可持久化线段树 2(静态区间第 k 小)](https://www.luogu.com.cn/problem/P3834)- [P1533 可怜的狗狗](https://www.luogu.com.cn/problem/P1533)- [P2617 Dynamic Rankings](https://www.luogu.com.cn/problem/P2617)- [P7424 [THUPC 2017] 天天爱射击](https://www.luogu.com.cn/problem/P7424)- [P3755 [CQOI2017] 老 C 的任务](https://www.luogu.com.cn/problem/P3755)- [P2633 Count on a tree](https://www.luogu.com.cn/problem/P2633)- [P9175 [COCI 2022/2023 #4] Mreža](https://www.luogu.com.cn/problem/P9175)- [P4602 [CTSC2018] 混合果汁](https://www.luogu.com.cn/problem/P4602):::
## Day 22 - 2026.08.31### 学习内容
1. Meet in the middle
2. A*
3. IDA*
4. IDDFS
5. 搜索剪枝优化
### 题目
:::info[Problems On Day 22]- [P10487 Nightmare II](https://www.luogu.com.cn/problem/P10487)- [P1379 八数码难题](https://www.luogu.com.cn/problem/P1379)- [P1032 [NOIP 2002 提高组] 字串变换(疑似错题)](https://www.luogu.com.cn/problem/P1032)- [P10484 送礼物](https://www.luogu.com.cn/problem/P10484)- [P4799 [CEOI 2015] 世界冰球锦标赛 (Day2)](https://www.luogu.com.cn/problem/P4799)- [P2901 [USACO08MAR] Cow Jogging G](https://www.luogu.com.cn/problem/P2901)- [UVA529 Addition Chains](https://www.luogu.com.cn/problem/UVA529)- [P10488 [BAPC 2006 资格赛] Booksort](https://www.luogu.com.cn/problem/P10488)- [UVA1343 旋转游戏 The Rotation Game](https://www.luogu.com.cn/problem/UVA1343)- [P1025 [NOIP 2001 提高组] 数的划分](https://www.luogu.com.cn/problem/P1025)- [U207723 分成互质组(Coplasm group)](https://www.luogu.com.cn/problem/U207723)- [P10483 小猫爬山](https://www.luogu.com.cn/problem/P10483)- [P1074 [NOIP 2009 提高组] 靶形数独](https://www.luogu.com.cn/problem/P1074)- [P1731 [NOI1999] 生日蛋糕](https://www.luogu.com.cn/problem/P1731)- [P2540 [NOIP 2015 提高组] 斗地主 加强版](https://www.luogu.com.cn/problem/P2540)- [P2668 [NOIP 2015 提高组] 斗地主](https://www.luogu.com.cn/problem/P2668)- [P1763 埃及分数](https://www.luogu.com.cn/problem/P1763):::
## Day 23 - 2026.09.03
### 学习内容
1. CDQ分治
:::info[Problems On Day 23]- [P1908 逆序对](https://www.luogu.com.cn/problem/P1908)- [T220389 Stars](https://www.luogu.com.cn/problem/T220389)- [P10814 【模板】离线二维数点](https://www.luogu.com.cn/problem/P10814)- [P5459 [BJOI2016] 回转寿司](https://www.luogu.com.cn/problem/P5459)- [P3810 【模板】三维偏序 / 陌上花开](https://www.luogu.com.cn/problem/P3810)- [P8575 「DTOI-2」星之河](https://www.luogu.com.cn/problem/P8575)- [P3157 [CQOI2011] 动态逆序对](https://www.luogu.com.cn/problem/P3157)- [P11197 [COTS 2021] 赛狗游戏 Tiket](https://www.luogu.com.cn/problem/P11197)- [P4093 [HEOI2016/TJOI2016] 序列](https://www.luogu.com.cn/problem/P4093)- [P4655 [CEOI 2017] Building Bridges](https://www.luogu.com.cn/problem/P4655):::
## Day 24 - 2026.09.16
### 学习内容
神秘唐人:ZHW
1. 基础DP - 线性DP - 区间DP 2. 背包DP - 01背包 - 完全背包 - 多重背包 - 分组背包 3. 状压DP - 棋盘状压 - 轮廓线
### 题目
:::info[Problems On Day 24]- [P1140 [ICPC 2001 Taejon R] 相似基因](https://www.luogu.com.cn/problem/P1140)- [P1434 [SHOI2002] 滑雪](https://www.luogu.com.cn/problem/P1434)- [P2893 [USACO08FEB] Making the Grade G](https://www.luogu.com.cn/problem/P2893)- [P1020 [NOIP 1999 提高组] 导弹拦截](https://www.luogu.com.cn/problem/P1020)- [P1280 [CHCI 2002 National Competition #2 Juniors] 尼克的任务](https://www.luogu.com.cn/problem/P1280)- [P2679 [NOIP 2015 提高组] 子串](https://www.luogu.com.cn/problem/P2679)- [P10967 [IOI 2000] 邮局(原始版)](https://www.luogu.com.cn/problem/P10967)- [P1880 [NOI1995] 石子合并](https://www.luogu.com.cn/problem/P1880)- [P1063 [NOIP 2006 提高组] 能量项链](https://www.luogu.com.cn/problem/P1063)- [P3146 [USACO16OPEN] 248 G](https://www.luogu.com.cn/problem/P3146)- [P4170 [CQOI2007] 涂色](https://www.luogu.com.cn/problem/P4170)- [P1220 关路灯](https://www.luogu.com.cn/problem/P1220)- [P4302 [SCOI2003] 字符串折叠](https://www.luogu.com.cn/problem/P4302)- [P4563 [JXOI2018] 守卫](https://www.luogu.com.cn/problem/P4563)- [P2466 [SDOI2008] Sue 的小球](https://www.luogu.com.cn/problem/P2466)- [P5336 [THUSC 2016] 成绩单](https://www.luogu.com.cn/problem/P5336)- [P1060 [NOIP 2006 普及组] 开心的金明](https://www.luogu.com.cn/problem/P1060)- [P2392 kkksc03 考前临时抱佛脚](https://www.luogu.com.cn/problem/P2392)- [P1455 搭配购买](https://www.luogu.com.cn/problem/P1455)- [P1858 多人背包](https://www.luogu.com.cn/problem/P1858)- [P1156 [USACO01OPEN] 垃圾陷阱](https://www.luogu.com.cn/problem/P1156)- [P4141 消失之物](https://www.luogu.com.cn/problem/P4141)- [P1853 [NWERC 2004] 投资的最大效益](https://www.luogu.com.cn/problem/P1853)- [P10973 Coins](https://www.luogu.com.cn/problem/P10973)- [P1941 [NOIP 2014 提高组] 飞扬的小鸟](https://www.luogu.com.cn/problem/P1941)- [P1776 宝物筛选](https://www.luogu.com.cn/problem/P1776)- [P1782 旅行商的背包](https://www.luogu.com.cn/problem/P1782)- [P1064 [NOIP 2006 提高组] 金明的预算方案](https://www.luogu.com.cn/problem/P1064)- [P5322 [BJOI2019] 排兵布阵](https://www.luogu.com.cn/problem/P5322)- [P2732 [USACO3.3] 商店购物 Shopping Offers](https://www.luogu.com.cn/problem/P2732)- [P1171 售货员的难题](https://www.luogu.com.cn/problem/P1171)- [P1879 [USACO06NOV] Corn Fields G](https://www.luogu.com.cn/problem/P1879)- [P2704 [NOI2001] 炮兵阵地](https://www.luogu.com.cn/problem/P2704)- [P1896 [SCOI2005] 互不侵犯](https://www.luogu.com.cn/problem/P1896)- [P3052 [USACO12MAR] Cows in a Skyscraper G](https://www.luogu.com.cn/problem/P3052)- [P2831 [NOIP 2016 提高组] 愤怒的小鸟](https://www.luogu.com.cn/problem/P2831)- [P2157 [SDOI2009] 学校食堂](https://www.luogu.com.cn/problem/P2157)- [P4363 [九省联考 2018] 一双木棋 chess](https://www.luogu.com.cn/problem/P4363)- [P5074 Eat the Trees](https://www.luogu.com.cn/problem/P5074)- [P11714 [清华集训 2014] 主旋律](https://www.luogu.com.cn/problem/P11714):::
## Day 25 - 2026.09.17
### 学习内容
神秘唐人:WLH
1. DP 套 DP
2. 动态 DP
### 题目
:::info[Problems On Day 25]- [P4719 【模板】动态 DP](https://www.luogu.com.cn/problem/P4719)- [CF1740H MEX Tree Manipulation](https://www.luogu.com.cn/problem/CF1740H)- [P10614 BZOJ3864 Hero meet devil](https://www.luogu.com.cn/problem/P10614)- [P4590 [TJOI2018] 游园会](https://www.luogu.com.cn/problem/P4590)- [P15301 [ROI 2012 Day 2] army 汗国军队](https://www.luogu.com.cn/problem/P15301)- [P5279 [ZJOI2019] 麻将](https://www.luogu.com.cn/problem/P5279)- [P6666 [清华集训 2016] 数据交互](https://www.luogu.com.cn/problem/P6666):::
## Day 26 - 2026.09.20
### 学习内容
1. 概率与期望DP2. 树形DP
### 题目
:::info[Problems On Day 26]- [CF148D Bag of mice](https://www.luogu.com.cn/problem/CF148D)- [P4316 绿豆蛙的归宿](https://www.luogu.com.cn/problem/P4316)- [AT_dp_j Sushi](https://www.luogu.com.cn/problem/AT_dp_j)- [P1850 [NOIP 2016 提高组] 换教室](https://www.luogu.com.cn/problem/P1850)- [P2473 [SCOI2008] 奖励关](https://www.luogu.com.cn/problem/P2473)- [P4206 [NOI2005] 聪聪与可可](https://www.luogu.com.cn/problem/P4206)- [CF24D Broken robot](https://www.luogu.com.cn/problem/CF24D)- [P4457 [BJOI2018] 治疗之雨](https://www.luogu.com.cn/problem/P4457)- [P1352 没有上司的舞会](https://www.luogu.com.cn/problem/P1352)- [P2015 二叉苹果树](https://www.luogu.com.cn/problem/P2015)- [P1272 [USACO02FEB] 重建道路](https://www.luogu.com.cn/problem/P1272)- [P3478 [POI 2008] STA-Station](https://www.luogu.com.cn/problem/P3478)- [P2279 [HNOI2003] 消防局的设立](https://www.luogu.com.cn/problem/P2279)- [P3621 [APIO2007] 风铃](https://www.luogu.com.cn/problem/P3621)- [P3757 [CQOI2017] 老C的键盘](https://www.luogu.com.cn/problem/P3757)- [P4297 [NOI2006] 网络收费](https://www.luogu.com.cn/problem/P4297):::
## Day 27 - 2026.09.22
### 学习内容
1. 博弈论
### 题目
:::info[Problems On Day 27]- [P2197 【模板】Nim 游戏](https://www.luogu.com.cn/problem/P2197)- [T407141 0x3A-博弈论与SG函数-台阶nim游戏](https://www.luogu.com.cn/problem/T407141)- [P4279 [SHOI2008] 小约翰的游戏](https://www.luogu.com.cn/problem/P4279)- [P6487 [COCI 2010/2011 #4] HRPA](https://www.luogu.com.cn/problem/P6487)- [UVA1567 A simple stone game](https://www.luogu.com.cn/problem/UVA1567)- [P2252 【模板】威佐夫博弈 / [SHOI2002] 取石子游戏](https://www.luogu.com.cn/problem/P2252)- [P2490 [SDOI2011] 黑白棋](https://www.luogu.com.cn/problem/P2490)- [P14527 [BYOI R1] 最终决斗](https://www.luogu.com.cn/problem/P14527)- [P8347 「Wdoi-6」另一侧的月](https://www.luogu.com.cn/problem/P8347)- [P2575 高手过招](https://www.luogu.com.cn/problem/P2575)- [P3480 [POI 2009] KAM-Pebbles](https://www.luogu.com.cn/problem/P3480)- [P11629 [WC2025] Nim 游戏](https://www.luogu.com.cn/problem/P11629)- [P3179 [HAOI2015] 数组游戏](https://www.luogu.com.cn/problem/P3179):::
## Day 28 - 2026.09.24
### 学习内容
1. 决策单调性优化 DP
2. 斜率优化 DP
### 题目
:::info[Problems On Day 28]- [P1912 [NOI2009] 诗人小G](https://www.luogu.com.cn/problem/P1912)- [P3515 [POI 2011] Lightning Conductor](https://www.luogu.com.cn/problem/P3515)- [P4767 [IOI 2000] 邮局 加强版](https://www.luogu.com.cn/problem/P4767)- [P5504 [JSOI2011] 柠檬](https://www.luogu.com.cn/problem/P5504)- [P5897 [IOI 2013] wombats](https://www.luogu.com.cn/problem/P5897)- [P4027 [NOI2007] 货币兑换](https://www.luogu.com.cn/problem/P4027)- [P2305 [NOI2014] 购票](https://www.luogu.com.cn/problem/P2305):::
## Day 29 - 2026.09.26
### 学习内容
1. 数据结构
:::info[Problems On Day 29]
- [P4069 [SDOI2016] 游戏](https://www.luogu.com.cn/problem/P4069)- [CF1303G Sum of Prefix Sums](https://www.luogu.com.cn/problem/CF1303G)- [CF932F Escape Through Leaf](https://www.luogu.com.cn/problem/CF932F)- [CF678F Lena and Queries](https://www.luogu.com.cn/problem/CF678F)- [P8987 [北大集训 2021] 简单数据结构](https://www.luogu.com.cn/problem/P8987)
:::
## Day 30 - 2026.09.29
### 学习内容
1. 最小生成树2. 最短路3. 欧拉路径
:::info[Problems On Day 30]
- [P3366 【模板】最小生成树](https://www.luogu.com.cn/problem/P3366)- [P10949 四叶草魔杖](https://www.luogu.com.cn/problem/P10949)- [P8074 [COCI 2009/2010 #7] SVEMIR](https://www.luogu.com.cn/problem/P8074)- [P4180 [BJWC2010] 严格次小生成树](https://www.luogu.com.cn/problem/P4180)- [CF1108F MST Unification](https://www.luogu.com.cn/problem/CF1108F)- [P5631 最小mex生成树](https://www.luogu.com.cn/problem/P5631)- [P3959 [NOIP 2017 提高组] 宝藏](https://www.luogu.com.cn/problem/P3959)- [P4779 【模板】单源最短路径(标准版)](https://www.luogu.com.cn/problem/P4779)- [P4009 汽车加油行驶问题](https://www.luogu.com.cn/problem/P4009)- [P3199 [HNOI2009] 最小圈](https://www.luogu.com.cn/problem/P3199)- [P7771 【模板】欧拉路径](https://www.luogu.com.cn/problem/P7771)- [P6628 [省选联考 2020 B 卷] 丁香之路](https://www.luogu.com.cn/problem/P6628)- [P2619 [国家集训队] Tree I](https://www.luogu.com.cn/problem/P2619)
:::
## Day 31 - 2026.09.30
### 学习内容
1. 数论随机算法2. 欧几里得算法全家桶
### 题目
:::info[Problems On Day 31]
- [P4718 【模板】Pollard-Rho](https://www.luogu.com.cn/problem/P4718)- [U161288 【模板】Miller-Rabin](https://www.luogu.com.cn/problem/U161288)- [P8193 [USACO22FEB] Sleeping in Class P](https://www.luogu.com.cn/problem/P8193)- [AT_agc073_b [AGC073B] Cyclic Jump](https://www.luogu.com.cn/problem/AT_agc073_b)- [P5179 Fraction](https://www.luogu.com.cn/problem/P5179)- [P5656 【模板】二元一次不定方程 (exgcd)](https://www.luogu.com.cn/problem/P5656)- [P5170 【模板】类欧几里德算法](https://www.luogu.com.cn/problem/P5170)
:::
## Day 32 - 2026.10.10
### 学习内容
1. 网络流(上)
### 题目
:::info[Problems On Day 32]
- [P3376 【模板】网络最大流](https://www.luogu.com.cn/problem/P3376)- [P2740 [USACO4.2] 草地排水 Drainage Ditches](https://www.luogu.com.cn/problem/P2740)- [P2936 [USACO09JAN] Total Flow S](https://www.luogu.com.cn/problem/P2936)- [P1343 地震逃生](https://www.luogu.com.cn/problem/P1343)- [B3606 [图论与代数结构 501] 网络流_1](https://www.luogu.com.cn/problem/B3606)- [B3607 [图论与代数结构 502] 网络流_2](https://www.luogu.com.cn/problem/B3607)- [P4313 文理分科](https://www.luogu.com.cn/problem/P4313)- [P1646 [国家集训队] happiness](https://www.luogu.com.cn/problem/P1646)- [P3227 [HNOI2013] 切糕](https://www.luogu.com.cn/problem/P3227)- [P4701 粘骨牌](https://www.luogu.com.cn/problem/P4701)- [P4123 [CQOI2016] 不同的最小割](https://www.luogu.com.cn/problem/P4123)- [P7231 [COCI 2015/2016 #3] DOMINO](https://www.luogu.com.cn/problem/P7231)- [P3965 [TJOI2013] 循环格](https://www.luogu.com.cn/problem/P3965)- [P3381 【模板】最小费用最大流](https://www.luogu.com.cn/problem/P3381)- [P4003 [清华集训 2017] 无限之环](https://www.luogu.com.cn/problem/P4003)- [P4015 运输问题](https://www.luogu.com.cn/problem/P4015)- [P4016 负载平衡问题](https://www.luogu.com.cn/problem/P4016)- [P4329 [COCI 2006/2007 #1] Bond](https://www.luogu.com.cn/problem/P4329)- [P5814 [CTSC2001] 终极情报网](https://www.luogu.com.cn/problem/P5814)- [P4134 [BJOI2012] 连连看](https://www.luogu.com.cn/problem/P4134)- [P2469 [SDOI2010] 星际竞速](https://www.luogu.com.cn/problem/P2469)- [P4249 [WC2007] 剪刀石头布](https://www.luogu.com.cn/problem/P4249)- [P4722 【模板】最大流 加强版 / 预流推进](https://www.luogu.com.cn/problem/P4722)
:::
## Day 33 - 2026.10.13
### 学习内容
1. 数据结构
### 题目
:::info[Problems On Day 33]
- [P11369 [Ynoi2024] 弥留之国的爱丽丝](https://www.luogu.com.cn/problem/P11369)- [P11831 [省选联考 2025] 追忆](https://www.luogu.com.cn/problem/P11831)- [P11930 [PA 2025] 吃树叶 / Liście](https://www.luogu.com.cn/problem/P11930)- [P13130 [Ynoi Easy Round 2019] 黑川赤音](https://www.luogu.com.cn/problem/P13130)
:::