求写在有n个顶点的有向图的邻接表上计算某个顶点V的出度的函数
求写在有n个顶点的有向图的邻接表上计算某个顶点V的出度的函数#define MAX_VERTEX_NUM 20
typedef struct ArcNode{
int adjvex;
struct ArcNode *nextarc;
}ArcNode;
typedef struct Vnode{
VertexType data;
ArcNode *firstarc;
}Vnode, AdjList[MAX_VERTEX_NUM];
typedef struct{
AdjList vertices;
int vexnum, arcnum;
int kind;
}ALGraph;