会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
__HPY_7m
博客园
首页
新随笔
联系
订阅
管理
2020年1月16日
快餐店BZOJ3242--基环树DP
摘要: 题意:https://www.luogu.com.cn/problem/P1399 思路: 枚举断链,3种情况dp预处理好就行 答案要对max取min(即:所有断完边后的树的直径的最小值) 1 #define IOS ios_base::sync_with_stdio(0); cin.tie(0);
阅读全文
posted @ 2020-01-16 16:33 ZMWLxh
阅读(217)
评论(0)
推荐(0)
公告