会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Achen
——I must block the destiny the throat,lowers the head in no way to it
博客园
首页
新随笔
联系
订阅
管理
2018年8月23日
动态dp
摘要: bzoj5210: 最大连通子块和 口胡的弱智型题解: $f_x$表示$x$的子树中,与$x$联通(或为空集)的最大联通子块和。 $ans_x$表示$x$的子树中,最大联通子块和。 $y\ is\ son\ of\ x$ $f_x=max(0,\sum f_y+v_x)$ $ans_x=max(f_
阅读全文
posted @ 2018-08-23 20:43 啊宸
阅读(411)
评论(0)
推荐(0)
编辑
公告