dfs全排列模板 #include <iostream> #include <cstdio> #include <algorithm> using namespace std; int num[10]; bool vis[10]</