symons

___________每一天都是幸福的!!

  博客园  ::  :: 新随笔  ::  :: 订阅 订阅  :: 管理

2013年3月18日

摘要: 这题开始自己没想出来,是看了别人的思路才明白的。 1 #include <stdio.h> 2 #include <iostream> 3 #include <math.h> 4 #include <string> 5 #include <string.h> 6 using namespace std; 7 int res,k,n; 8 bool gird[10][10]; 9 bool v_col[10];10 void dfs(int row,int number)11 {12 if(number==k)13 {14 15 res 阅读全文
posted @ 2013-03-18 21:47 symons 阅读(149) 评论(0) 推荐(0)