随笔分类 -  搜索

摘要:#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... 阅读全文
posted @ 2019-03-06 17:06 czh~ 阅读(138) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2018-01-19 19:20 czh~ 阅读(419) 评论(0) 推荐(0)
摘要:迷宫问题 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表示可以走的路, 阅读全文
posted @ 2018-01-07 12:05 czh~ 阅读(115) 评论(0) 推荐(0)