title: WOJ1024 (POJ1985+POJ2631) Exploration 树/BFS date: 2020-03-20 10:43:00 categories: acm tags: [acm,woj,图论] 用到了树的 直径 1 描述 Tom is an explorer and now he is in a mysterious cave. He finds that there are lots of rooms in it. You are ensured that the…