Introduction - If you have any usage issues, please Google them yourself
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.