True to do before retiring title record

Immediately NOI ah, although only a D, but the feeling is still possible to rescue a little bit? Record what topics do it every day

6.12

[CF161D] Distance in Tree

The meaning of problems: Given a path tree, find the number of length k

Solution: Partition board point title, once recorded within the center of partition tree to the path length of the number of $ X $, can be spliced ​​together

 

Guess you like

Origin www.cnblogs.com/Slrslr/p/11007392.html