随笔分类 -  回溯

摘要:1 #include <iostream> 2 using namespace std; 3 const int N = 11; 4 int Board[N][N]; 5 int tile = 0; 6 7 /* 8 tr:棋盘左上角方格的行号 9 tc:棋盘左上角方格的列号10 dr:特殊方格所在的行号11 dc:特殊方格所在的列号12 size:方形棋盘的边长13 */14 void ChessBoard(int tr, int tc, int dr, int dc, int size)15 {16 if(size == 1)17 return;18 ... 阅读全文
posted @ 2013-04-05 20:27 萧凡客 阅读(258) 评论(0) 推荐(0) 编辑