线性dp——cf1096D
摘要:
dp[i][j]表示到第i位,与hard的匹配状态到达了第j位 每位有两种决策:消或者不消 分别转移一下即可 转移代码 阅读全文
posted @ 2019-05-22 23:07 zsben 阅读(90) 评论(0) 推荐(0) 编辑
posted @ 2019-05-22 23:07 zsben 阅读(90) 评论(0) 推荐(0) 编辑
posted @ 2019-05-22 22:08 zsben 阅读(213) 评论(0) 推荐(0) 编辑
posted @ 2019-05-22 17:41 zsben 阅读(161) 评论(0) 推荐(0) 编辑
posted @ 2019-05-22 11:46 zsben 阅读(257) 评论(0) 推荐(0) 编辑