随笔分类 -  图论,邻接矩阵

图论 邻接矩阵建图+dfs遍历
摘要:第一次i建图,用的邻接矩阵。#include#include#include#include#include#define inf 65535using namespace std;typedef struct mygraph{ int ver[1000]; int arc[100][1... 阅读全文

posted @ 2017-09-19 23:09 横济沧海 阅读(167) 评论(0) 推荐(0)

导航