摘要: 1 #include 2 using namespace std; 3 4 const int INF = 100000; 5 int n=10,path[11][11],dist[11][11],map[11][11]; 6 7 /* 8 函数功能:创建地图城市信息 9 函数入口参数:空10 函数返回值:空11 */12 void init(){13 int i,j;14 for(i=1;i>u>>v;74 if(dist[u+1][v+1]==INF)75 cout<<"这俩个城市的距离为无穷大"<<endl;7... 阅读全文
posted @ 2013-11-18 21:53 乱七八糟 。 阅读(170) 评论(0) 推荐(0) 编辑