会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Coool
博客园
首页
联系
订阅
管理
随笔分类 -
树上DP
P1352 没有上司的舞会
摘要:树上DP入门题 dp[][0]表示不选他且以他为根的子树的最大快乐值 dp[][1]表示选他且以他为根的子树的最大快乐值 转移方程 .... 看代码吧 // luogu judger enable o2 include include include include using namespace
阅读全文
posted @
2018-07-26 20:35
Coool
阅读(95)
评论(0)
推荐(0)
公告