登录
首页 » C++ » Maze-code

Maze-code

于 2014-01-20 发布 文件大小:3KB
0 174
下载积分: 1 下载次数: 6

代码说明:

  以一个m×n的长方阵表示迷宫,0和1分别表示迷宫中的通路和障碍。设计一个程序,对任意设定的迷宫,求出一条从入口到出口的通路,或得出没有通路的结论。首先用二维数组存储迷宫数据,迷宫数据由用户输入。一个以链表作存储结构的栈类型,然后编写一个求解迷宫的递归或非递归程序。求得的通路以三元组(i,j,d)形式输出,其中:(i,j)指示迷宫中的一个坐标,d表示走到下一坐标的方向(东、南、西、北四个方向所用代表数字,自行定义) (With an m × n the long square maze, 0 and 1, respectively maze of pathways and obstacles. Design a program, for any set of the maze, find a path from the inlet to the outlet, or come to the conclusion there is no path. First of a two-dimensional array to store the data maze, maze data input by the user. A linked list storage structure for stack type, and then write a recursive or non-recursive solving the maze procedure. Obtained access to triples (i, j, d) in the form of output, of which: (i, j) indicates the maze of a coordinate, d represents the coordinates walked next direction (east, south, west, north four directions used on behalf of a digital, self-defined))

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • B_Tree
    用控制台实现了经典的数据结构B树,可以通过测试文件.txt加载已有的B树,有插入,删除,查找的功能,加深对数据结构的理解。(Using the console to achieve the classic B tree data structure, you can pass the test document. Txt already loaded B-tree, there are insert, delete, search functions, to deepen understanding of the data structure.)
    2020-10-18 17:47:26下载
    积分:1
  • 课程设计
    课程设计--VB成绩管理系统,希望能得上。-curriculum design-- VB performance management system, hoping to find the last.
    2023-07-31 04:35:03下载
    积分:1
  • BinaryTree
    数据结构使用三叉链表表示的二叉树的基本操作(Data structures using the binary tree expressed in the trigeminal lists the basic operation of)
    2010-06-26 10:51:43下载
    积分:1
  • prepared by the Stoc k software, use Shenglong 6 (DOS) for more information.
    我用VFP编写的选股软件,要用胜龙6(DOS)的数据.-prepared by the Stoc k software, use Shenglong 6 (DOS) for more information.
    2022-08-20 20:43:07下载
    积分:1
  • 数据结构中的最短路径的查询,适合初学数据结构的学生使用...
    数据结构中的最短路径的查询,适合初学数据结构的学生使用-failed to translate
    2022-02-21 13:05:31下载
    积分:1
  • 人力资源管理系统的源代码和毕业论文 人力资源管理系统是一个典型的信息管理系统(MIS),本系统是一个为适应当前各个行业对人力资源信息管理的迫切需求而设...
    人力资源管理系统的源代码和毕业论文 人力资源管理系统是一个典型的信息管理系统(MIS),本系统是一个为适应当前各个行业对人力资源信息管理的迫切需求而设计开发的软件系统,其开发主要包括后台数据库的建立和维护以及前端应用程序的开发两个方面,经过分析如此情况,我们使用DELPHI ,数据库等开发工具,利用其提供的各种面向对象的开发工具,尤其是数据窗口这一能方便而简洁操纵数据库的智能化对象,首先在短时间内建立系统应用原型,然后,对初始原型系统进行需求迭代,不断修正和改进,直到形成用户满意的可行系统.-err
    2022-02-27 00:27:06下载
    积分:1
  • Visual basic + sql server2000学员管理系统原代码
    Visual basic + sql server2000学员管理系统原代码-Visual basic+ sql server2000 student management system source
    2022-12-26 17:50:08下载
    积分:1
  • category nodes, providing a complete set of nodes Functions
    节点类,提供了全套节点相关处理函数-category nodes, providing a complete set of nodes Functions
    2022-03-20 16:54:00下载
    积分:1
  • C++数据结构图结构的类定义及有关算法
    C++数据结构图结构的类定义及有关算法-C data structure definition of the class structure and the algorithm
    2022-03-15 06:59:35下载
    积分:1
  • 人力资源系统
    应用背景人力资源管理系统,资源管理系统,资源管理系统,资源管理系统,资源管理系统,人力资源管理系统,资源管理系统,资源管理系统,资源管理系统,资源管理系统,人力资源管理系统,资源管理系统,资源管理系统,资源管理系统,资源管理系统,人力资源管理系统,资源管理系统,资源管理系统,资源管理系统资源管理系统,关键技术在线招聘系统PHP MySQL,PHP mysqlonline  ;员工招聘体系与PHP mysqlonline员工招聘员工招聘体系mysqlonline系统PHP PHP mysqlonline员工招聘员工招聘体系mysqlonline系统PHP PHP mysqlonline员工招聘员工招聘体系mysqlonline系统PHP PHP mysqlv在线的员工招聘体系
    2022-03-10 07:07:24下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载