会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
知难不难
博客园
首页
新随笔
联系
订阅
管理
2019年10月27日
2138=数据结构实验之图论三:判断可达性
摘要: 1 #include <stdio.h> 2 #include <string.h> 3 int map[1000][1000]; 4 int visit[1000]; 5 int n; 6 int max;//利用max来标记是否达到隘口1,如达到则max=1; 7 void DFS(int t) 8 { 9 visit[t]=1; 10 int i; 11 for(i=n; i>=0; i--
阅读全文
posted @ 2019-10-27 22:33 念文丶
阅读(152)
评论(0)
推荐(0)
编辑
公告