SPOJ Query on a tree【树链剖分】
You are given a tree (an acyclic undirected connected graph) with N nodes, and edges numbered 1, 2, 3…N-1.
We will ask you to perfrom some instructions of the following form:
CHANGE i ti : change th...
原创
2018-04-12 22:22:02 ·
159 阅读 ·
0 评论