摘要: 1 #include 2 using namespace std; 3 4 #define N 8 5 6 int a[N][N] = { 0 }; 7 8 bool judge(int a[][N],int b,int c)//b行 c列 9 { 10 11 ... 阅读全文
posted @ 2015-12-10 12:39 喵小喵~ 阅读(157) 评论(0) 推荐(0)
摘要: #include #include using namespace std;#define N 6int a[N][N] = { 0 };bool judge(int a[][N], int b, int c, int dir){ if (dir == 0) { if (b... 阅读全文
posted @ 2015-12-10 12:38 喵小喵~ 阅读(295) 评论(0) 推荐(0)