摘要: //欢迎指正!!!////有向图找环//输入n条边 const int maxvex = 500; int graph[maxvex][maxvex] = {0};//邻接矩阵 set<int>vexs;//顶点容器 bool visitted[maxvex] = {false};//访问数组 ve 阅读全文
posted @ 2020-08-16 18:32 卡冈图雅blackhole 阅读(464) 评论(0) 推荐(0) 编辑