随笔分类 - 搜索
摘要:#include using namespace std; const int maxn = 20; int ans[maxn][maxn]={ {8,0,4,0,9,0,3,2,0}, {0,0,1,0,0,0,8,0,0}, {6,0,0,0,0,8,0,9,7}, {5,0,0,0,3,0,2,0,0}, {7,0,0,0,0,0,0,0,0}, {0,0,9,0,0,5,0,4...
阅读全文
摘要:Prime Path Description The ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to cha
阅读全文
摘要:迷宫问题 Description 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, }; 它表示一个迷宫,其中的1表示墙壁,0表示可以走的路,
阅读全文

浙公网安备 33010602011771号