题解 2087: 蓝桥杯算法提高VIP-8皇后·改

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

dfs搜索!!!

```cpp#includeusingnamespacestd;constintL=12;intn;chararr[L][L];boollie[L],z_x[2*L],n_z_x[2*L];inta[100][100];intmax_num;boolcheck(intx,

带记录的dfs

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=8;int g[N][N];bool vis[N][N];i……