This problem is used in private contest:实验四--树及其应用