摘要: 另一道线性dp水题 阅读全文
posted @ 2019-07-24 12:26 喵呜,颜儿ღ 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 线性dp水题 阅读全文
posted @ 2019-07-24 12:25 喵呜,颜儿ღ 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 树链剖分 #include <algorithm>#include <cstdio>#include <vector>usingnamespacestd; constint maxn = 100000 + 10; int n,m,r,p,dis[maxn],dep[maxn],father[maxn 阅读全文
posted @ 2019-07-24 12:24 喵呜,颜儿ღ 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 莫队 阅读全文
posted @ 2019-07-24 12:22 喵呜,颜儿ღ 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 带时间戳的莫队 阅读全文
posted @ 2019-07-24 12:22 喵呜,颜儿ღ 阅读(165) 评论(0) 推荐(0) 编辑