NOIP brush title record

NOIP2014~2019

Find something inscribed.
Updated once a day

noip 2014

The Big Bang version of rock-paper-scissors:

Analog sb

Joint weight:

Noted that the graph is a tree, you can easily specify a point for the root, then find the x distance x 2 points only father's father, a brother or any of x, statistics about it.
Complexity is \ (O (n) \)

Guess you like

Origin www.cnblogs.com/Saudi/p/12531852.html