10 2021 档案

摘要: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 阅读(56) 评论(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 阅读(71) 评论(0) 推荐(0)