【BZOJ1624】[Usaco2008 Open] Clear And Present Danger 寻宝之路【Floyd】
【题目链接】最后一个水题,今天不写水题了.../*Pigonometry*/
#include
#include
usingnamespacestd;
typedeflonglongLL;
constintmaxn=105,maxm=10005;
intn,m,id[maxm],g[maxn][maxn];
inlineintiread(){
intf=1,x=0;charch=getc