AND20211201
AND20211201
全部文章
dfs
总结(28)
数据结构(1)
未归档(1)
洛谷(1)
题解(113)
归档
标签
去牛客网
登录
/
注册
AND20211201的博客
全部文章
/ dfs
(共1篇)
n-皇后问题
全排列方法 1.用u表示每一行皇后的位置,在用i表示皇后的列坐标。 #include<iostream> #include<cstring> using namespace std; const int N = 100; char g[10][10]; int n; bool...
2022-06-08
1
483