ii沙漠

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2015年9月6日

摘要: ```cpp int GraphPathE(Graph G, int v, int w) { int t; t = Graphdeg(G, v) + Graphdeg(G, w); if ((t % 2) != 0) return 0; for (t = 0; t V; t++) if ((t != v) && (t != w)) ... 阅读全文
posted @ 2015-09-06 10:58 ii沙漠 阅读(204) 评论(0) 推荐(0) 编辑

摘要: ```CPP #include using namespace std; struct Graph{ int vertexs; int **adj; }; struct Edge{ int v; int w; }; void GraphInit(Graph* G, int v) { G->vertexs = v; G->adj = new ... 阅读全文
posted @ 2015-09-06 10:54 ii沙漠 阅读(605) 评论(0) 推荐(0) 编辑

摘要: ```cpp #include using namespace std; struct Graph{ int vertexs; int **adj; }; struct Edge{ int v; int w; }; void GraphInit(Graph* G, int v) { G->vertexs = v; G->adj = new ... 阅读全文
posted @ 2015-09-06 10:30 ii沙漠 阅读(193) 评论(0) 推荐(0) 编辑