摘要: 题目名称:迷宫问题 题目链接:http://poj.org/problem?id=3984 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, 阅读全文
posted @ 2015-07-16 20:17 maplefighting 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 题目名称:Dungeon Master 题目链接:http://poj.org/problem?id=2251 Description You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon 阅读全文
posted @ 2015-07-16 16:53 maplefighting 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 题目名称:棋盘问题 题目链接:http://poj.org/problem?id=1321 Description 在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可 阅读全文
posted @ 2015-07-16 16:48 maplefighting 阅读(112) 评论(0) 推荐(0) 编辑