判断无向图中顶点u与v之间是否存在长度为len的简单路径,存在返回1不存在返回0
注:代码没写注释为了看着清爽点,不懂的地方大家随时留言给我,互相交流学习。#include <stdio.h>#include <stdlib.h>#define maxsize 20typedef struct{ int no; char info;}MGraphVNode;typedef struct{ int n; ...
原创
2018-11-01 21:26:40 ·
2099 阅读 ·
6 评论