UOJ Logo 黑暗爆炸OJ

DARKBZOJ

#1907. 树的路径覆盖

Statistics 下载数据

Description

Input

Output

Sample Input

1
7
1 2
2 3
2 4
4 6
5 6
6 7

Sample Output

3

Hint

,注意此注释有误,第二种情况应该为{1,2,4,5,6},{3},{7}

Source

Play with Tree By Amber