摘要: #include<bits/stdc++.h> #define MaxVertexNum 100 /* 最大顶点数设为100 */ typedef int Vertex; /* 用顶点下标表示顶点,为整型 */ typedef int WeightType; /* 边的权值设为整型 */ typed 阅读全文
posted @ 2019-12-28 16:34 acwarming 阅读(198) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> #define MaxVertexNum 100 //最大顶点 #define INFINITY 65535 // ∞设为双字节无符号整数的最大值65535 using namespace std; typedef int Vertex; //用顶点下 阅读全文
posted @ 2019-12-28 16:15 acwarming 阅读(433) 评论(0) 推荐(0) 编辑