接下来 N-1 行每行两个正整数 from, to , 表示该树中存在一条边 (from, to) 虽然他说是 from 和 to,但实际上输入的边是无向的,必须存双向边处理
接下来 N-1 行每行两个正整数 from, to , 表示该树中存在一条边 (from, to)
from
to