- 博客(3)
- 收藏
- 关注
转载 【无标题】
数据结构 试实现普里姆最小生成树算法。 函数接口定义: void Prim(AMGraph G, char u); 其中 G 是基于邻接矩阵存储表示的无向图,u表示起点 裁判测试程序样例: #include #define MVNum 10 #define MaxInt 32767 using namespace std; struct edge{ char adjvex; int lowcost; }closedge[MVNum]; typedef struct{ char vexs[MVNum]; i
2021-12-20 15:20:41 157
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人