版本比较
动态规划-基础篇
正文
增加 12 行删除 12 行
6 行未改动7891011121314151617181920212223244 行未改动293031323334353637383940419 行未改动51525354555657585960612 行未改动6465666768697071727315 行未改动6 行未改动- [P1216 [USACO1.5] [IOI1994]数字三角形 Number Triangles](https://www.luogu.com.cn/problem/P1216)- [P1130 红牌](https://www.luogu.com.cn/problem/P1130)- [P1002 [NOIP2002 普及组] 过河卒](https://www.luogu.com.cn/problem/P1002)- [P8707 [蓝桥杯 2020 省 AB1] 走方格](https://www.luogu.com.cn/problem/P8707)* 1.2 如何定义阶段?- [P1434 [SHOI2002] 滑雪](https://www.luogu.com.cn/problem/P1434)高度是本题转移的特点。以高度来划分阶段。- [P7074 [CSP-J2020] 方格取数](https://www.luogu.com.cn/problem/P7074)一个状态既可以由上方来,也可以由下方来,单纯的右下方向阶段划分已经不够用了。由于不走充分的格子,上下两个方向是独立的,可以多设计一维状态。- [P1006 [NOIP2008 提高组] 传纸条](https://www.luogu.com.cn/problem/P1006)- [T392580 palin](https://www.luogu.com.cn/problem/T392580)- [T385929 跳格子游戏](https://www.luogu.com.cn/problem/T385929)* 1.3 上升子序列模型4 行未改动- [P8697 [蓝桥杯 2019 国 C] 最长子序列](https://www.luogu.com.cn/problem/P8697)- [P2782 友好城市](https://www.luogu.com.cn/problem/P2782)- [T390216 谁共一杯芳酒](https://www.luogu.com.cn/problem/T390216)- [P1439 【模板】最长公共子序列](https://www.luogu.com.cn/problem/P1439)* 1.4 子段和问题- [P1115 最大子段和](https://www.luogu.com.cn/problem/P1115)- [AT_arc137_b [ARC137B] Count 1's](https://www.luogu.com.cn/problem/AT_arc137_b)- [P1121 环状最大两段子段和](https://www.luogu.com.cn/problem/P1121)- [P1387 最大正方形](https://www.luogu.com.cn/problem/P1387)* 1.5区间型动态规划9 行未改动- [P3146 [USACO16OPEN] 248 G](https://www.luogu.com.cn/problem/P3146)- [P3147 [USACO16OPEN] 262144 P](https://www.luogu.com.cn/problem/P3147)- [P3205 [HNOI2010] 合唱队](https://www.luogu.com.cn/problem/P3205)* 1.6 背包问题- [B3635 硬币问题](https://www.luogu.com.cn/problem/B3635)- [P8742 [蓝桥杯 2021 省 AB] 砝码称重](https://www.luogu.com.cn/problem/P8742)- [P2722 [USACO3.1] 总分 Score Inflation](https://www.luogu.com.cn/problem/P2722)- [P1877 [HAOI2012] 音量调节](https://www.luogu.com.cn/problem/P1877)2 行未改动- [P1649 [USACO07OCT] Obstacle Course S](https://www.luogu.com.cn/problem/P1649)- [P6208 [USACO06OCT] Cow Pie Treasures G](https://www.luogu.com.cn/problem/P6208)- [P1970 [NOIP2013 提高组] 花匠](https://www.luogu.com.cn/problem/P1970)- [P2896 [USACO08FEB] Eating Together S](https://www.luogu.com.cn/problem/P2896)- [P2858 [USACO06FEB] Treats for the Cows G/S](https://www.luogu.com.cn/problem/P2858)- [P1192 台阶问题](https://www.luogu.com.cn/problem/P1192)- [P1020 [NOIP1999 普及组] 导弹拦截](https://www.luogu.com.cn/problem/P1020)15 行未改动6 行未改动7891011121314151617181920212223244 行未改动293031323334353637383940419 行未改动51525354555657585960612 行未改动6465666768697071727315 行未改动6 行未改动- [P1216 [USACO1.5] [IOI1994]数字三角形 Number Triangles](https://www.luogu.com.cn/problem/P1216)- [P1130 红牌](https://www.luogu.com.cn/problem/P1130)- [P1002 [NOIP2002 普及组] 过河卒](https://www.luogu.com.cn/problem/P1002)- [P8707 [蓝桥杯 2020 省 AB1] 走方格](https://www.luogu.com.cn/problem/P8707)* 1.2 如何定义阶段?- [P1434 [SHOI2002] 滑雪](https://www.luogu.com.cn/problem/P1434)高度是本题转移的特点。以高度来划分阶段。- [P7074 [CSP-J2020] 方格取数](https://www.luogu.com.cn/problem/P7074)一个状态既可以由上方来,也可以由下方来,单纯的右下方向阶段划分已经不够用了。由于不走充分的格子,上下两个方向是独立的,可以多设计一维状态。- [P1006 [NOIP2008 提高组] 传纸条](https://www.luogu.com.cn/problem/P1006)- [T392580 palin](https://www.luogu.com.cn/problem/T392580)- [T385929 跳格子游戏](https://www.luogu.com.cn/problem/T385929)* 1.3 上升子序列模型4 行未改动- [P8697 [蓝桥杯 2019 国 C] 最长子序列](https://www.luogu.com.cn/problem/P8697)- [P2782 友好城市](https://www.luogu.com.cn/problem/P2782)- [T390216 谁共一杯芳酒](https://www.luogu.com.cn/problem/T390216)- [P1439 【模板】最长公共子序列](https://www.luogu.com.cn/problem/P1439)* 1.4 子段和问题- [P1115 最大子段和](https://www.luogu.com.cn/problem/P1115)- [AT_arc137_b [ARC137B] Count 1's](https://www.luogu.com.cn/problem/AT_arc137_b)- [P1121 环状最大两段子段和](https://www.luogu.com.cn/problem/P1121)- [P1387 最大正方形](https://www.luogu.com.cn/problem/P1387)* 1.5区间型动态规划9 行未改动- [P3146 [USACO16OPEN] 248 G](https://www.luogu.com.cn/problem/P3146)- [P3147 [USACO16OPEN] 262144 P](https://www.luogu.com.cn/problem/P3147)- [P3205 [HNOI2010] 合唱队](https://www.luogu.com.cn/problem/P3205)* 1.6 背包问题- [B3635 硬币问题](https://www.luogu.com.cn/problem/B3635)- [P8742 [蓝桥杯 2021 省 AB] 砝码称重](https://www.luogu.com.cn/problem/P8742)- [P2722 [USACO3.1] 总分 Score Inflation](https://www.luogu.com.cn/problem/P2722)- [P1877 [HAOI2012] 音量调节](https://www.luogu.com.cn/problem/P1877)2 行未改动- [P1649 [USACO07OCT] Obstacle Course S](https://www.luogu.com.cn/problem/P1649)- [P6208 [USACO06OCT] Cow Pie Treasures G](https://www.luogu.com.cn/problem/P6208)- [P1970 [NOIP2013 提高组] 花匠](https://www.luogu.com.cn/problem/P1970)- [P2896 [USACO08FEB] Eating Together S](https://www.luogu.com.cn/problem/P2896)- [P2858 [USACO06FEB] Treats for the Cows G/S](https://www.luogu.com.cn/problem/P2858)- [P1192 台阶问题](https://www.luogu.com.cn/problem/P1192)- [P1020 [NOIP1999 普及组] 导弹拦截](https://www.luogu.com.cn/problem/P1020)15 行未改动