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

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

筛选

8皇后 改(dfs)

摘要:解题思路:基本的dfs 改改最后的操作即可注意事项:对角线的表示参考代码:#include<iostream> using namespace std; const int N=9; int n……

dfs搜索!!!

摘要:```cpp #include using namespace std; const int L = 12; int n; char arr[L][L]; bool lie[L],……