版本比较
2024高温假总结汇总
正文
增加 5 行删除 5 行
14 行未改动15161718191920212223242526272829293031323334353637383939404142434445464748494950515253545556575859596061626386 行未改动14 行未改动## 算法分类
### 每题算法
#### $Day 1:$ #### $Day 1:$
[$A$ - GCD Subtraction](http://oi.nks.edu.cn:19360/zh/Problem/Details?cid=2989&tid=A):数学
[$B$ - 修建道路](http://oi.nks.edu.cn:19360/zh/Problem/Details?cid=2989&tid=B):最小生成树(+ 并查集)
[$C$ - 超越](http://oi.nks.edu.cn:19360/zh/Problem/Details?cid=2989&tid=C):逆序对
[$D$ - Brackets](http://oi.nks.edu.cn:19360/zh/Problem/Details?cid=2989&tid=D):区间 DP
#### $Day 2:$ #### $Day 2:$
[$A$ - 果老师的等式](http://oi.nks.edu.cn:19360/zh/Problem/Details?cid=2989&tid=I):枚举 + 数位优化
[$B$ - 小鸟](http://oi.nks.edu.cn:19360/zh/Problem/Details?cid=2989&tid=J):单调队列优化 DP
[$C - A < A_P$](http://oi.nks.edu.cn:19360/zh/Problem/Details?cid=2989&tid=K):枚举 + 并查集
[$D$ - 平均身高](http://oi.nks.edu.cn:19360/zh/Problem/Details?cid=2989&tid=L):顺序对
#### $Day 3:$ #### $Day 3:$
[$A$ - 相等距离](http://oi.nks.edu.cn:19360/zh/Problem/Details?cid=2989&tid=Q):枚举 + 贪心
[$B$ - 平衡的队列](http://oi.nks.edu.cn:19360/zh/Problem/Details?cid=2989&tid=R):差分
[$C$ - Copy and Paste Graph](http://oi.nks.edu.cn:19360/zh/Problem/Details?cid=2989&tid=S):最短路
[$D$ - 动物园](http://oi.nks.edu.cn:19360/zh/Problem/Details?cid=2989&tid=T):模拟 + 状态压缩
#### $Day 4:$ #### $Day 4:$
[$A$ - 点蜡烛](http://oi.nks.edu.cn:19360/zh/Problem/Details?cid=2989&tid=Z):枚举 + 贪心
[$B$ - 烂铲翻煎饼](http://oi.nks.edu.cn:19360/zh/Problem/Details?cid=2989&tid=a):$ID A^*$ 或 $IDDFS$
[$C$ - 费解的开关](http://oi.nks.edu.cn:19360/zh/Problem/Details?cid=2989&tid=Y):模拟 + 状态压缩
[$D$ - 数字游戏](http://oi.nks.edu.cn:19360/zh/Problem/Details?cid=2989&tid=b):区间 DP
#### $Day 5:$ #### $Day 5:$
[$A$ - 站队](http://oi.nks.edu.cn:19360/zh/Problem/Details?cid=2989&tid=h):序列DP(最长连续递增子序列)
[$B$ - 换队伍](http://oi.nks.edu.cn:19360/zh/Problem/Details?cid=2989&tid=j):模拟86 行未改动