poj2243 Knight Moves (BFS)

题 意:给定国际象棋棋盘,要求马从某点跳到某点,求最少步数

思 路:即BFS求最短路径长度

学习点:BFS

源代码:

 

posted @ 2011-05-09 01:31  nepaul  阅读(300)  评论(0)    收藏  举报