摘要:
#include<bits/stdc++.h> using namespace std; char G[105][105]; int vis[105][105]; //方向数组,上右下左 int dx[8] = {0,1,1,1,0,-1,-1,-1}; int dy[8] = {1,1,0,-1, 阅读全文
摘要:
#include<bits/stdc++.h> using namespace std; int G[105][105],vis[105][105]; //方向数组,上右下左 int dx[5] = {-1,0,1,0},dy[5] = {0,1,0,-1}; int n,m,cnt=0; void 阅读全文
摘要:
#include<bits/stdc++.h> using namespace std; int G[105][105],vis[105][105]; //方向数组,上右下左 int dx[8] = {0,1,1,1,0,-1,-1,-1},dy[8] = {1,1,0,-1,-1,-1,0,1}; 阅读全文