摘要:        
// 1321.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include<iostream>using namespace std;char q[10][10];bool row_used[10];int count,num_p;int k,n;void DFS(int i){ if(num_p==k) { count++; return; } if(i>n) return; for(int j=1;j<=n;j++) { if(q[i][j]=='#'&&!row_used[    阅读全文
posted @ 2011-05-29 18:58
张兰云
阅读(225)
评论(0)
推荐(1)
        
 
                    
                     
                    
                 
                    
                
 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号