2024.3.14 树链剖分 and 树上启发式合并

树链剖分 //参考 https://oi-wiki.org/graph/hld/#%E4%BE%8B%E9%A2%98 //例题 //https://loj.ac/p/10138 https://www.luogu.com.cn/problem/P3379 vector<int>G[N]; int
posted @ 2024-03-15 00:12  O_JF?  阅读(4)  评论(0编辑  收藏  举报