摘要: 1 //tarjian离线求LCA 2 #include<cstdio> 3 #define N 420000 4 struct hehe{ 5 int next; 6 int to; 7 int lca; 8 }; 9 hehe edge[N];//树的链表 10 hehe qedge[N];// 阅读全文
posted @ 2020-09-15 09:50 Lovaer 阅读(108) 评论(0) 推荐(0) 编辑