ii沙漠

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

09 2015 档案

摘要:```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沙漠 阅读(211) 评论(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沙漠 阅读(616) 评论(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沙漠 阅读(203) 评论(0) 推荐(0)

摘要:```cpp#include #include using namespace std;int main(){ int e[10][10], k, i, j, n, m, t1, t2, t3; cin >> n >> m; for (i = 1; i > t1 >> t2 >>... 阅读全文
posted @ 2015-09-01 17:22 ii沙漠 阅读(195) 评论(0) 推荐(0)