#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
//邻接矩阵
#define Max_Size 100
typedef int VertexType;
typedef int EdgeType;
typdef struct
{
VertexType vert[Max_Size];
EdgeType edge[Max_Size][Max_Size];
int n, e;
} MGraph;
//邻接表
#define max_size 100
typedef struct ArcNode
{
int data;
struct ArcNode *next;
} ArcNode;
typedef struct Vertxt
{
int Ver;
ArcNode *first;
} VertxtList[max_size];
typdef struct
{
VertxtList myVer;
int n, e;
} MGRAPH;