摘要:
/* luogu1505 非常简单的处理边权的树剖题。 在树上将一条边定向,把这条边的权值赋给这条边的出点 树剖的时候不计算lca权值即可 */ #include<bits/stdc++.h> using namespace std; #define ll long long const int h 阅读全文
posted @ 2022-10-15 16:27
timedrop
阅读(25)
评论(0)
推荐(0)