U214511 dfs遍历树测试

题目描述

用dfs遍历一个树

输入格式

输出格式

说明/提示

$n=1e6$