Demo entry 6780795

map

   

Submitted by lsh on Dec 29, 2018 at 07:15
Language: C. Code size: 261 Bytes.

#define MAX_VERTEX_NUM 20
typedef  struct {
    int NO;
    char name[50];
}VertexType; 
typedef int AdjMatrix;
typedef struct 
{
    VertexType vexs[MAX_VERTEX_NUM];
    AdjMatrix arcs[MAX_VERTEX_NUM][MAX_VERTEX_NUM];
    int vexnum,arcnum;
}MGraph;

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).