摘要: 1 #include<stdio.h> 2 #include<string.h> 3 4 char a[6][6]; 5 int v[6][6],hash[6][6];//V标记是否已经放过,hash标记是否此位置是否进入过队列 6 int n,sum,max; 7 8 struct N 9 {10 int x,y;11 };12 13 14 int judge(int x,int y)15 {16 int i,j;17 for(i = x+1; i <= n; i++)18 if(v[i][y]) return 0;19 else... 阅读全文
posted @ 2013-04-11 08:55 好小孩 阅读(157) 评论(0) 推荐(0)