POJ2362

挺簡單的搜索,只是當時沒能分析出題 注意剪枝優化ios #include<iostream> #include<algorithm> using namespace std; int n,m; int s[22]; bool used[22]; int sum; int len; bool dfs(int step,int pos,int l){ if(step==3){//剪枝以後找
本站公眾號
   歡迎關注本站公眾號,獲取更多信息