摘要: 全排列递归写法 1 #include<bits/stdc++.h> 2 using namespace std; 3 int n, m; 4 int a[100]; 5 bool vis[100]; 6 void dfs(int x) 7 { 8 if(x>n){ 9 for(int i=1; i< 阅读全文
posted @ 2020-07-17 16:54 TFLSNOI 阅读(208) 评论(0) 推荐(0) 编辑