01 2020 档案

摘要:题意: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 阅读(198) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示