题目来源:http://poj.org/problem?id=2342
Anniversary party
Time Limit: 1000MS |
Memory Limit: 65536K |
Total Submissions: 10684 |
Accepted: 6121 |
Description
There is going to be a party to celebrate the80-th Anniversary of the Ural State University. The University has ahierarchical structure of employees. It means that the supervisor relationforms a tree rooted at the rector V. E. Tretyakov. In order to make the partyfunny for every one, the rector does no