摘要:
问题描述: 问题描述: 定义一个二维数组: 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 @ 2019-03-07 22:39
BobiBobi波
阅读(1746)
评论(0)
推荐(0)
摘要:
问题描述: Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,000) on 阅读全文
posted @ 2019-03-07 13:55
BobiBobi波
阅读(97)
评论(0)
推荐(0)
摘要:
问题描述: 问题描述: You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be fille 阅读全文
posted @ 2019-03-07 12:18
BobiBobi波
阅读(242)
评论(0)
推荐(0)
摘要:
问题描述 问题描述 在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。 Input 输入含有多组测试数据。 每组数据的第一行是两个正整数,n k,用一 阅读全文
posted @ 2019-03-07 10:42
BobiBobi波
阅读(139)
评论(0)
推荐(0)

浙公网安备 33010602011771号