摘要:
HDOJ 2544 最短路 题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=2544【code】(dijkstra):1#include<iostream>2#include<cstring>3#include<cstdio>4usingnamespacestd;5#definemaxn10016intmap[maxn][maxn];7intdijkstra(intfrom,intto,intn)8{9intdij[maxn],i,k;10boolused[maxn];11memset(used,false,si 阅读全文