摘要: 题意:给定n个点,m条边,求所有顶点中到顶点x的来回最短距离 分析:考虑到数据范围,选用Dijkstra,用Floyd会超时 1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 #include <string> 5 #i 阅读全文
posted @ 2016-07-22 10:29 wolf940509 阅读(142) 评论(0) 推荐(0)