摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=2923map+floyd#include <cstdio>#include <cstring>#include <cctype>#include <map>#include <string>using namespace std;const int N=110,INF=1000010;int n,m,sz;int g[N][N];int q[1010];map<string,int> mp;void floyd(){ for(int k=
阅读全文