- 博客(1)
- 收藏
- 关注
原创 八皇后问题C++
记录之前写的八皇后问题 // 八皇后问题递归解答 #include <iostream> using namespace std; int ncount = 0; int a[8][8]; bool judge(int m, int n)//判断当前是否符合要求 { for (int i = 0; i < 8; i++) { for (int j = 0; j < ...
2020-03-13 21:10:19
303
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人