思路 找到一个炸弹以后,把所有会引爆的炸弹全部清0,直到没有炸弹(1)。 代码 #include<bits/stdc++.h> using namespace std; const int N=1005; char mp[N][N];//地图 bool vx[N],vy[N];//标记这一行,这一列有没有访问过 int n,m,cnt; void dfs(int x,int y)