摘要: "Luogu5021 [NOIP2018]赛道修建" 一棵大小为 $n$ 的树,边带权。选 $m$ 条链使得长度和最小的链最大。 $m using namespace std; const int maxn = 1e5 + 10; int n, m, mid, h[maxn]; multiset s 阅读全文
posted @ 2019-03-09 20:00 cnJuanzhang 阅读(215) 评论(0) 推荐(0) 编辑