摘要:
倍增求LCA #include<iostream> #include<cstdio> using namespace std; int n,m,root; int fa[500005][22],lg[500005],dep[500005]; int to[1000005],nxt[1000005], 阅读全文
posted @ 2024-08-15 16:13
v_lisan_v
阅读(15)
评论(0)
推荐(0)
浙公网安备 33010602011771号