文件名称:maze
介绍说明--下载内容均来自于网络,请自行研究使用
数据结构-迷宫
输入说明:
一组数据,输入数据第1行为两个正整数m和n,m表示迷宫高度,n表示迷宫宽度;第2行为两个整数,分表表示起点的行列位置;第3为两个整数,分别表示终点的行列位置;其后为m行数据,每行n个整数,表示迷宫对应位置的状态,0表示通路,1表示障碍。
输出说明:
以三元组形式(见P105)输出从起点到终点的通路,没有则输出no
-Data structure- Maze enter a descr iption: a set of data, the input data of a behavior two positive integers m and n, m represents the maze height, n represents the maze width second two integers, the ranks of the table represents the starting point position Section 3 is a two integers, the position indicates the end of the line followed by the m rows of data, each row n integers, the maze corresponding to the position of the state path 0, 1 disorder. Output Descr iption: The triple form (see P105) output from the beginning to the end of the path, there is no output
输入说明:
一组数据,输入数据第1行为两个正整数m和n,m表示迷宫高度,n表示迷宫宽度;第2行为两个整数,分表表示起点的行列位置;第3为两个整数,分别表示终点的行列位置;其后为m行数据,每行n个整数,表示迷宫对应位置的状态,0表示通路,1表示障碍。
输出说明:
以三元组形式(见P105)输出从起点到终点的通路,没有则输出no
-Data structure- Maze enter a descr iption: a set of data, the input data of a behavior two positive integers m and n, m represents the maze height, n represents the maze width second two integers, the ranks of the table represents the starting point position Section 3 is a two integers, the position indicates the end of the line followed by the m rows of data, each row n integers, the maze corresponding to the position of the state path 0, 1 disorder. Output Descr iption: The triple form (see P105) output from the beginning to the end of the path, there is no output
(系统自动生成,下载前可以参看下载内容)
下载文件列表
maze.c