英语翻译

问题描述:

英语翻译
CC lives on the tree which has N nodes.On every leaf of the tree there is an apple(leaf means there is only one branch connect this node ) .Now CC wants to get two apple ,CC can choose any node to start and the speed of CC is one meter per second.
\x05now she wants to know the shortest time to get two apples;
input
\x05Thers are many cases;
\x05The first line of every case there is a number N(2

CC住在一个具有N节点的树上.在每一片叶子的树里有一个苹果(叶子意味着只有一个分支连接节点)现在CC想要两个苹果,CC可以选择任何一个节点为起点,并以1米/秒速度开始.现在她想知道最短的时间去得到两个苹果;输入:这些...