2020年3月11日

摘要: #include<cstdio> #include<string> using namespace std; int n,m; char map[105][105]; bool vis[105][105]; int cnt; int ans=-1; void dfs(int x,int y){ if 阅读全文
posted @ 2020-03-11 16:05 二进制dd 阅读(136) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> using namespace std; int n,m; int ans; char map[105][105]; bool vis[105][105]; void dfs(int x,int y){ if(x<0||x>=n||y<0||y>=m||vis[x 阅读全文
posted @ 2020-03-11 15:24 二进制dd 阅读(188) 评论(0) 推荐(0) 编辑
摘要: #include<cstdio> #include<string> using namespace std; int n,m,cnt; //分别为地图规模,和需要多少人 char map[105][105]; //存储地图值 bool vis[105][105]; //存储是否走过 void dfs 阅读全文
posted @ 2020-03-11 14:43 二进制dd 阅读(178) 评论(0) 推荐(0) 编辑

导航