摘要:
https://www.luogu.org/problemnew/show/P1439 阅读全文
摘要:
https://www.luogu.org/problemnew/show/P3366 Kruskal算法 O(E*logE)1. 所有的边从小到大排序2. 初始状态下每个结点都是独立的集合3. 枚举每一条边e4. 如果边的两个端点u、 v属两个不同的集合,把这条边加入MST, 否则跳过。• 排序• 阅读全文
摘要:
https://www.luogu.org/problemnew/show/P3367 阅读全文
摘要:
spfa https://www.luogu.org/problemnew/show/P3371 阅读全文
摘要:
https://www.luogu.org/problemnew/show/P3379 阅读全文
摘要:
https://www.luogu.org/problemnew/show/P3372 区间加法修改,区间查询 阅读全文
摘要:
https://www.luogu.org/problemnew/show/P3370 自然溢出 阅读全文