1 2 3 4
摘要: 我感觉就是线段树+LCA的思想了 核心还是线段树 需要注意 在标记中,一个节点的所有子孙一定都是标号小于该节点的。 https://www.luogu.com.cn/problem/P2590 洛谷例题 解答 功能变多了就会很长很长 #include<cstring> #include<cstdio 阅读全文
posted @ 2020-02-29 19:16 Lesning 阅读(120) 评论(0) 推荐(0) 编辑