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

Maze-code

于 2014-01-20 发布 文件大小:3KB
0 106
下载积分: 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 个回复

  • 这个程序演示了如何使用ADO做断开的公文包中的应用…
    This program demonstrates how to do disconnected briefcase applications with ADO. When the Connected checkbox is unchecked the application is switched into offline mode. If the application is exited at that point then the data is persisted to a file on disk (along with any edits to the data). When the application is restarted it will load the persisted data if present, otherwise it will fetch the data from the database.
    2022-05-14 15:17:00下载
    积分:1
  • 算法设计与分析中的贪心法源程序,用VC编写,应用贪心设计策略来解决操作系统中单机、无资源约束且每个作业可在等量时间内完成的作业调度问题...
    算法设计与分析中的贪心法源程序,用VC编写,应用贪心设计策略来解决操作系统中单机、无资源约束且每个作业可在等量时间内完成的作业调度问题-algorithm design and analysis of the greedy algorithm source, VC preparation, application greedy design strategies to solve the stand-alone operating system, without resource constraints which each job can be in the same amount of time to complete the job-scheduling problem
    2023-06-07 17:40:03下载
    积分:1
  • Huffman
    说明:  数据结构:Huffman编码。哈夫曼编码是哈夫曼树的一个应用。哈夫曼编码应用广泛,如JPEG中就应用了哈夫曼编码。 哈夫曼树又称最优二叉树,是一种带权路径长度最短的二叉树。(Data structure: Huffman coding. Huffman coding is an application of the Huffman tree. Huffman coding is widely used, such as JPEG in the application of the Huffman coding. Huffman tree, also known as the best binary tree is a weighted shortest path length binary tree.)
    2011-03-29 22:44:59下载
    积分:1
  • shopping-question
    实现超市中排队购物用时最短,是计算机算法设计与分析中的一道题。自己写的程序,原创!(Achieve queued supermarket shopping with the shortest, is a question in the design and analysis of computer algorithms. Write their own procedures, original!)
    2012-08-18 11:01:09下载
    积分:1
  • 车厢调度
    车厢调度----数据结构课程设计。利用的栈的结构进行设计,主要包括栈的基本操作,及进行调度的算法。-Scheduling data structure inside the curriculum design. Use the structure of the stack design, including the basic operation of the stack, and scheduling algorithms.
    2022-08-15 13:11:06下载
    积分:1
  • binary tree first sequence, sequence after sequence, layer by traversal algorith...
    二叉树的先序,中序,后序,按层遍历算法。以中序输入,用‘#’代替叶子节点的子节点输入。-binary tree first sequence, sequence after sequence, layer by traversal algorithm. The order to import, use "#" instead of the leaf nodes for input nodes.
    2022-12-12 20:15:03下载
    积分:1
  • 进制转换是中的栈的应用的一个典型例子
    进制转换是数据结构中的栈的应用的一个典型例子- Enters the system transformation is in a construction of data stack application typical example
    2022-10-02 01:30:03下载
    积分:1
  • 访问集 Linq 演示
    我们有几种方法来存储和访问我们的数据。最经常方式是数据存储到数据库和从应用旁路 ODBC 或其他提供访问它们。当我们只有少量数据时,我们使用的.Net Framework 语言设计应用程序。一种有效的方法是使用 Access (在 Microsoft Office 套件) 内存储的数据和使用 LINQ 来获取数据并将其存储在数据集在内存中。我们以后可以证明它。
    2022-09-13 23:25:03下载
    积分:1
  • inside contents include :
    里面的内容包括:基盘存管理本信息管理库存管理入库管理出库管理等功能-inside contents include :-management of the inventory management of inventory management information storage and management database management, and other functions
    2022-04-17 20:30:05下载
    积分:1
  • MSSQL & MYSQL connection setup
    RAD XE5 C++ 開發, 用於設定資料庫連線參數, 可設定 MSSQL 及 MYSQL, 並可將設定後的參數以DES編碼後存成檔案
    2022-04-10 18:23:59下载
    积分:1
  • 696518资源总数
  • 105871会员总数
  • 33今日下载