-
Category : Data structs
Tags :
- Update : 2012-11-26
- Size : 291kb
- Downloaded :0次
- Author :卧***
- About :
Nobody
- PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
Said in an m* n long square maze, the maze of pathways and barriers 0 and 1, respectively. Design a program, for any set of the maze, find a pathway from the entrance to the exit, or come to the conclusion there is no pathway. Requirements: First, a stack type, and then write a non-recursive procedure for solving the maze. Obtained path output in the form of triples (i, j, d), where (i, j) indicate the maze coordinates, d come to the next coordinate direction. Maze for 8* 8, a two-dimensional array to store the maze of information, the entrance for the (1,1), export (8,8), the input format: 0 by 1 roadblock. Two-dimensional array (0, i), (I, 0), (10, i), (i, 10) defaults to 1, on behalf of the non-through. Output format: seek the path of output in the form of triples (i, j, d), where (i, j) indicate the maze coordinates, d come to the next coordinate direction.
Packet file list
(Preview for download)
迷宫求解问题\Debug\maze.obj
............\.....\maze.sbr
............\.....\vc60.idb
............\.....\vc60.pdb
............\.....\迷宫求解问题.bsc
............\.....\迷宫求解问题.exe
............\.....\迷宫求解问题.ilk
............\.....\迷宫求解问题.pch
............\.....\迷宫求解问题.pdb
............\maze.cpp
............\迷宫求解问题.dsp
............\迷宫求解问题.dsw
............\迷宫求解问题.ncb
............\迷宫求解问题.opt
............\迷宫求解问题.plg
............\Debug
迷宫求解问题
Related instructions
- We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
- The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
- Please use Winrar for decompression tools
- If download fail, Try it againg or Feedback to us.
- If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
- Before downloading, you can inquire through the uploaded person information