摘要: DFS & BFS (1)深度优先搜索 题意:求全排列。 #include <bits/stdc++.h> using namespace std; const char nl = '\n'; const int N = 25; int n; int path[N]; bool st[N]; voi 阅读全文
posted @ 2021-03-11 22:59 小燃、 阅读(47) 评论(0) 推荐(0) 编辑