CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 Windows编程 其他小程序

文件名称:puzzle

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2012-11-16
  • 文件大小:
    1.81kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

有一个迷宫,用一个二维数组maze[1: m][1: n]表示,其元素值只有两个:0与1。其中以值0表示该位置可以走通,以值1表示该位置阻塞。在迷宫的左上方maze[1][1]处有一入口,右下方maze[m][n]处有一出口,如图1-1所示。现要求探寻从迷宫入口到出口有无通路;若有,则指出其中一条通路的路径:将迷宫数组中通路上的0替换成另一数字(例如8),输出找到通路的迷宫数组;同时按照走通的顺序输出路径上每一步的位置坐标及向下一步前进的方向;若没有,则给出相应的信息。-There is a maze, with a two-dimensional array maze [1: m] [1: n] that the value of its only two elements: 0 and 1. Among them, the location of the value of 0 indicates that the pass can go to the value of 1 indicates that the location of obstruction. The upper left corner in the maze of the maze [1] [1] there is a entrance to the lower right corner maze [m] [n] there is an export, as shown in Figure 1-1. Are now required to explore the maze entrance to the exit from the availability of access if so, have pointed out that one of the access path: The path of the maze array of 0 replaced by another number (eg 8), the output pathway of the maze to find the array At the same time, in accordance with the walk pass on the order of the output path of the location coordinates of each step and the way forward to the next step if not, then given the appropriate information.
相关搜索: 8 puzzle n puzzle Puzzle

(系统自动生成,下载前可以参看下载内容)

下载文件列表

puzzle/function.cpp
puzzle/head.h
puzzle/main.cpp
puzzle

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com