摘要: 843. n-皇后问题 - AcWing题库 #include<bits/stdc++.h> #define rep(i,a,b) for(int i=a;i<b;i++) using namespace std; const int N=10; int n; char q[N][N]; bool 阅读全文
posted @ 2021-10-06 08:45 infocodez 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 842. 排列数字 - AcWing题库 #include<bits/stdc++.h> #define rep(i,a,b) for(int i=a;i<b;i++) using namespace std; const int N=10; int n; int quene[N]; bool fl 阅读全文
posted @ 2021-10-06 08:05 infocodez 阅读(19) 评论(0) 推荐(0) 编辑