摘要:
/*-----深度优先搜索----全排列--------*/ #include using namespace std; int a[10],book[10],n; void dfs(int step)/*step第几个盒子*/ { int i; if(step==n+1) { for(i=1;i>n; dfs(1); return 0... 阅读全文
posted @ 2016-03-17 22:57
LuoTian
阅读(566)
评论(0)
推荐(0)

浙公网安备 33010602011771号