-
以一个Maze(m, n)的长方阵表示迷宫, 迷宫的入口是Maze(1,1), 出口是Maze(m, n), Maze(i,j)等于0表示通路, Maze(i,...
以一个Maze(m, n)的长方阵表示迷宫, 迷宫的入口是Maze(1,1), 出口是Maze(m, n), Maze(i,j)等于0表示通路, Maze(i,j)等于1表示障碍。设计一个程序,对任意设定的迷宫,求出一条从入口到出口的通路,或得出没有通路的结论。各个命令以及相关数据的输入格式如下:
输入迷宫:C,接下来一行是m n,其中m是迷宫矩阵行数,n是迷宫矩阵列数,接下来的m行数据是迷宫矩阵,每行n个值,表示一个m*n的迷宫矩阵
求迷宫的一条通路:Q
当输入的命令为E时,程序结束-With a Maze (m, n), said the long square maze, the maze entrance is a Maze (1,1), exports is the Maze (m, n), Maze (i, j) is equal to 0, said channel, Maze (i, j) is equal to 1, said barrier. Designing a program, for any set of the maze, find a path from the entrance to the export, or come to the conclusion there is no path. The various commands and data input format is as follows: Enter the Labyrinth: C, followed by his party mn, where m is the maze of matrix rows, n is a maze of matrix columns, the next line of data is a maze m matrix, each row n- value, indicating an m* n matrix of the labyrinth a maze of pathways: Q when the input command for the E, the end of the process
- 2023-04-15 19:50:03下载
- 积分:1
-
一元多项式相加数据结构算法
一元多项式相加数据结构算法-sum of one yuan polynomial algorithm data structure
- 2023-03-02 03:30:04下载
- 积分:1
-
这是字符串匹配算法中很著名的KMP算法,此文件仅供大家参考,具体是否能调通,本人还没有试过...
这是字符串匹配算法中很著名的KMP算法,此文件仅供大家参考,具体是否能调通,本人还没有试过-This is a string matching algorithm is famous KMP algorithm, this document is your reference, specifically whether Qualcomm will emphasize, I have not tried
- 2022-03-30 22:24:58下载
- 积分:1
-
运行环境必须在win9x环境下
运行环境必须在win9x环境下-operating environment must win9x environment
- 2022-10-18 03:35:04下载
- 积分:1
-
用VB6创建的家庭地址簿程序。制作该程序的主要目的是用来为家庭中的每个成员存储个人地址信息。而且该程序的用户设定为两个类型级别:即1管理型、2用户型...
用VB6创建的家庭地址簿程序。制作该程序的主要目的是用来为家庭中的每个成员存储个人地址信息。而且该程序的用户设定为两个类型级别:即1管理型、2用户型-built with VB6 family address book procedures. The production process is the main purpose for the family members of each of the addresses stored personal information. And the procedures set of users for the two types of levels : that is a management-type, two-users
- 2022-03-15 13:23:06下载
- 积分:1
-
国际跳棋
国际跳棋,一种古老的棋类游戏。远在古埃及法老时期就已存在,现代国际跳棋是在12世纪定型的。 国际跳棋是由各国的民族跳棋演变而来。其历史源远流长。据史学家研究,跳棋起源于古埃及、古罗马、 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-03-16 12:54:06下载
- 积分:1
-
Semantic Ontology word Inquiry System
基于语义本体的单词查询系统-Semantic Ontology word Inquiry System
- 2022-03-24 21:50:31下载
- 积分:1
-
一个通讯录程序 ,用编C++编的
一个通讯录程序 ,用编C++编的-a correspondence program, Part C series
- 2022-10-27 01:20:03下载
- 积分:1
-
用delphi实现的各种排序算法,图形界面,可实现插入排序、交换排序、选择排序、合并排序以及基数排序...
用delphi实现的各种排序算法,图形界面,可实现插入排序、交换排序、选择排序、合并排序以及基数排序-used to achieve the various sequencing algorithms, graphical interface, insert can be realized, in order of ranking exchange, SELECTION SORT, the merger sort of base sequencing
- 2022-09-30 02:05:03下载
- 积分:1
-
binary search algorithm, to achieve a set of data for the search operation, the...
折半查找算法,实现对于一组数据的查找操作,利用折半查找法进行查找-binary search algorithm, to achieve a set of data for the search operation, the use of binary search method you
- 2023-02-02 17:15:04下载
- 积分:1