版本比较
题目代码列表
正文
增加 22 行删除 1 行
168 行未改动全部展开16917017117217317417517617717817912 行未改动192193194195193196197198199200173 行未改动全部展开374375376377378379380381382383384385386387388389390391392393394395168 行未改动全部展开
- [ ] [P1395 会议——【树的重心模板】](https://www.luogu.com.cn/problem/P1395) [代码](https://www.luogu.com.cn/paste/y1vwwoxp)
- [ ] [B4016 树的直径——【树的直径模板】](https://www.luogu.com.cn/problem/B4016) [代码](https://www.luogu.com.cn/paste/rmbmj9ux)
- [ ] [P3379 【模板】最近公共祖先(LCA)](https://www.luogu.com.cn/problem/P3379) [代码](https://luogu.com.cn/paste/af38j9um)
- [ ] [P2052 [NOI2011] 道路修建](https://www.luogu.com.cn/problem/P2052) 12 行未改动[代码](https://www.luogu.com.cn/paste/c1lwkf5a)
# 动态规划## 背包问题- [ ] [【01背包】——P1048 [NOIP 2005 普及组] 采药](https://www.luogu.com.cn/problem/P1048) - [ ] [P1048 [NOIP 2005 普及组] 采药——【01背包】](https://www.luogu.com.cn/problem/P1048) [代码](https://www.luogu.com.cn/paste/3z1xj9pt)
- [ ] [P1616 疯狂的采药——【完全背包】](https://www.luogu.com.cn/problem/P1616) [代码](https://www.luogu.com.cn/paste/lllx48k9)173 行未改动全部展开[代码](https://www.luogu.com.cn/paste/uih5wmju)
- [ ] [P2731 [USACO3.3] 骑马修栅栏 Riding the Fences](https://www.luogu.com.cn/problem/P2731) [代码](https://www.luogu.com.cn/paste/nep30zdy)
# 树链剖分- [ ] [P3384 【模板】重链剖分 / 树链剖分](https://www.luogu.com.cn/problem/P3384) [代码](https://www.luogu.com.cn/paste/pzm9mgkq)
- [ ] [P2486 [SDOI2011] 染色](https://www.luogu.com.cn/problem/P2486) [代码](https://www.luogu.com.cn/paste/bg471dfr)
- [ ] [P1505 [国家集训队] 旅游——【边操作】](https://www.luogu.com.cn/problem/P1505) [代码](https://www.luogu.com.cn/paste/znens2xp)
- [ ] [P2146 [NOI2015] 软件包管理器](https://www.luogu.com.cn/problem/P2146) [代码](https://www.luogu.com.cn/paste/1f73dn2o)
# 扫描线- [ ] [P5490 【模板】扫描线 & 矩形面积并](https://www.luogu.com.cn/problem/P5490) [代码](https://www.luogu.com.cn/paste/8rq24byb)