Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Mathimatics-Numerical algorithms Data structs
  • Category : Data structs
  • Tags :
  • Update : 2012-11-26
  • Size : 850kb
  • Downloaded :0次
  • Author :wsc****
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
Description and purpose of the experiment 8* 8 grid for a given board, find the board a horse from one location to another location to reach the shortest path length. Note that horse is to take the "day" shape. Input Enter a number of test data. Only 1 line of each test data, each line has 2 squares pos1, pos2, separated by a space, each grid square, said a board position, the position of column 1 by the said letters ( ah), and that the line of a number (1-8) form, such as "d7" said the line 7 column 4. Output Each line in the input box on the two pos1, pos2, output horse to jump from position pos1 pos2 shortest path length required. Such as "a1 ==> a2: 3 moves" that jump from position a1 a2 minimum required number of steps is 3. Note: The sample shown by the output format of the output, such as "a1 ==> a2: 3 moves" in a space after the colon, and then follow the required minimum number of steps. Experimental results Input sample a1 a2 a1 a3 a1 h8 g2 b8 Sample Ou
Packet file list
(Preview for download)
horse\horse.dsw
.....\horse.ncb
.....\horse.plg
.....\horse.dsp
.....\horse.cpp
.....\Debug\vc60.idb
.....\.....\vc60.pdb
.....\.....\horse.pch
.....\.....\horse.exe
.....\.....\horse.pdb
.....\.....\horse.obj
.....\.....\horse.ilk
.....\horse.opt
.....\Debug
horse
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

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.