摘要: Bear Limak examines a social network. Its main functionality is that two members can become friends (then they can talk with each other and share funn 阅读全文
posted @ 2017-03-30 20:04 饼饼饼饼饼 阅读(495) 评论(0) 推荐(0) 编辑
摘要: 原题内容: Problem Description 某省调查城镇交通状况,得到现有城镇道路统计表,表中列出了每条道路直接连通的城镇。省政府“畅通工程”的目标是使全省任何两个城镇间都可以实现交通(但不一定有直接的道路相连,只要互相间接通过道路可达即可)。问最少还需要建设多少条道路? Input 测试输 阅读全文
posted @ 2017-03-30 19:24 饼饼饼饼饼 阅读(214) 评论(0) 推荐(0) 编辑