摘要:
typedef struct arcnode //边节点 { int adjvex; struct arcnode* nextarc; int weight; }arcnode; typedef struct vnode //顶点节点 { int data; arcnode* firstarc; }vnode, adjlist[100];//邻接表 typedef struct Graph //图 阅读全文
posted @ 2019-10-28 19:32
bestAndBest
阅读(698)
评论(0)
推荐(1)
摘要:
#include<stdlib.h> typedef struct Node { int data; struct Node* next; }Node,Linklist; Linklist mergelist(Linklist *la, Linklist *lb) { Node* pa, * pb, * r, * t; Linklist* c = (Linklist*)malloc(sizeof( 阅读全文
posted @ 2019-10-28 19:19
bestAndBest
阅读(789)
评论(0)
推荐(0)

浙公网安备 33010602011771号