文章列表

筛选

x皇后(dfs)(acwing)

摘要:#include<iostream> using namespace std; const int N=10010; int n; char path[N][N];        bool ……

全排列(dfs)(acwing)

摘要:#include<iostream> using namespace std; const int N=10010; int path[N],n; bool st[N];    //用来判断有……

STL(acwing)(简易)

摘要:pair<int, int>     first, 第一个元素     second, 第二个元素     支持比较运算,以first为第一关键字,以second为第二关键字(字典序) s……