摘要:
参考:算法:C语言实现 一书实现:#ifndef GRAPH#define GRAPH#include#includestruct edge{ int v; int w;};struct node{ int v; node* next;};struct graph{ int v; int e; no... 阅读全文
摘要:
参考:算法:c语言实现 一书图的邻接矩阵实现#ifndef GRAPH#define GRAPH/* 图的邻接矩阵实现*/#include#include#includestruct edge{ int v; int w;};struct graph{ int v; int e; int **adj... 阅读全文