HDU – 6191 Query on A Tree 可持久化字典树+dfs序
Query on A Tree 可持久化字典树+dfs序 Source HDU - 6191 2017ACM/ICPC广西邀请赛-重现赛(感谢广西…
Query on A Tree 可持久化字典树+dfs序 Source HDU - 6191 2017ACM/ICPC广西邀请赛-重现赛(感谢广西…
E. New Year Tree dfs序+线段树+状态压缩 My Solution 题意:给定一棵树,每个节点都有颜色,然后询…
ping ping ping LCA倍增算法+dfs序+线段树 Source HDU - 6203 My Solution 题意:给出一颗…
Counting Offspring dfs序+线段树 Source HDU - 3887 My Solution 题意:问对于每个节点,它的子树上…