Los Forest Valley $ P $ 3302 $ [SDOI2013] $ Chairman tree Count \ on \ a \ tree

Positive Solutions: Chairman of the tree

Report problem solving:

Portal!

Hu mouth cool moment codes crematorium

This question is not difficult ,,, but apparently the idea is that the code should also be quite hard to play

But anyway, I also hold the code, write down the problem solution lie $ QwQ $

The first question is a $ the Count \ ON \ A \ Tree $, do not say

Consider the second question, it is clear enough direct heuristic merge

$over$

Ah mouth Hu really was great $ bushi $

Guess you like

Origin www.cnblogs.com/lqsukida/p/11010797.html