摘要:
#include <iostream>#include <iomanip>#include <queue>using namespace std;#define MaxNum 20#define ERROR -1bool visited[MaxNum];typedef enum {DG,DN,UDG,UDN}GraphKind;typedef struct ArcCell{ int adj; //}ArcCell,AdjMatrix[MaxNum][MaxNum];typedef struct{ char vexs[MaxNum]; //顶点向量 AdjMa 阅读全文