Problem C: 树

Time Limit: 4 Sec Memory Limit: 1024 MB

HINT

data