EOJ Monthly 2020.9.F.动态树(线段树套Trie/树状数组套Trie/分块+Trie)
维护一棵树,有两种操作:
1.Add x,y,插入一个节点,父节点为$x$边权为$y$。
2.Query x,y,查询起点为$x$,终点在$y$的子树中的最大简单路径边权异或和。
------------------------------------------------------------------------------------------------------------------------
很久以前的奇怪但现在依旧成立的签名
attack is our red sun $$\color{red}{\boxed{\color{red}{attack\ is\ our\ red\ sun}}}$$ ------------------------------------------------------------------------------------------------------------------------
很久以前的奇怪但现在依旧成立的签名
attack is our red sun $$\color{red}{\boxed{\color{red}{attack\ is\ our\ red\ sun}}}$$ ------------------------------------------------------------------------------------------------------------------------