文件名称:box
介绍说明--下载内容来自于网络,使用问题请自行百度
由文件input.txt提供输入数据。输入文件第1 行有2个正整数n和m(1<=n,m<=100),
表示仓库是n×m个格子的矩形阵列。接下来有n行,每行有m个字符,表示格子的状态。
S 表示格子上放了不可移动的沉重货物;
w 表示格子空闲;
M 表示仓库管理员的初始位置;
P 表示箱子的初始位置;
K 表示箱子的目标位置。
-Provided by the input data file input.txt. Line 1 input file there are two positive integers n and m (1 < = n, m < = 100), said the warehouse is a n × m rectangular grid array. Then there are n lines, each line has m characters, said the state lattice. Lattice S that can not be put on the movement of heavy goods w that free lattice M said that the initial location of the warehouse manager P said that the initial location of the box K said that the goal of the location of the box.
表示仓库是n×m个格子的矩形阵列。接下来有n行,每行有m个字符,表示格子的状态。
S 表示格子上放了不可移动的沉重货物;
w 表示格子空闲;
M 表示仓库管理员的初始位置;
P 表示箱子的初始位置;
K 表示箱子的目标位置。
-Provided by the input data file input.txt. Line 1 input file there are two positive integers n and m (1 < = n, m < = 100), said the warehouse is a n × m rectangular grid array. Then there are n lines, each line has m characters, said the state lattice. Lattice S that can not be put on the movement of heavy goods w that free lattice M said that the initial location of the warehouse manager P said that the initial location of the box K said that the goal of the location of the box.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
box.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.