随笔分类 - 4.2 图论——最小生成树
摘要:题面 http://uoj.ac/problem/236 题解 upd2019.8.14:本来想重写一遍的,后来发现我应该理解了,就咕了。 把速度看成点,在过山车的始终速度间连有向边,加速免费,减速一定要走边。 用【Segment and Points】的性质,把一定需要的加速边和减速边补出来。 此
阅读全文
摘要:题面 https://www.luogu.org/problem/AT3611 题解 点分,找到每个子树的拉格朗日点,然后把子树内所有的点向拉格朗日点连边。
阅读全文
摘要:题面 https://www.luogu.org/problem/AT2134 题解
阅读全文
摘要:题面 https://www.luogu.org/problem/CF891C 题解
阅读全文
摘要:题面 http://darkbzoj.tk/problem/4883 题解 克鲁斯卡尔维护基环森林。
阅读全文
摘要:题面 https://www.luogu.org/problem/CF888G 题解
阅读全文
摘要:题面 https://www.luogu.org/problem/P2619 题解 注意可行解的区间性质
阅读全文
摘要:题面 https://www.luogu.org/problemnew/show/CF125E 题解
阅读全文
摘要:题面 https://www.luogu.org/problem/P4768 题解
阅读全文
摘要:题面 http://darkbzoj.tk/problem/3714 题解
阅读全文

浙公网安备 33010602011771号