文件名称:Traversal-of-horse
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.92kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
在中国象棋棋盘上,对任一位置上放置的一个马,均能选择一个合适的路线,使得该棋子能按象棋的规则不重复地走过棋盘上的每一个位置。
完成以下功能:
(1)依次输出所走过的各位置的坐标;
(2)最好能画出棋盘的图形形式,并在其上动态的标注行走过程;
(3)程序能方便地移植到其它规格的棋盘上。
-In Chinese chess board, the location of any place on a horse, able to select a suitable route, making the pieces do not follow the rules of chess board repeatedly through every position. Complete the following functions: (1) followed by the output through the coordinates of each location (2) better to draw the board' s graphic form, and in its walk on the dynamic process of labeling (3) program can be easily ported to Other specifications of the board.
完成以下功能:
(1)依次输出所走过的各位置的坐标;
(2)最好能画出棋盘的图形形式,并在其上动态的标注行走过程;
(3)程序能方便地移植到其它规格的棋盘上。
-In Chinese chess board, the location of any place on a horse, able to select a suitable route, making the pieces do not follow the rules of chess board repeatedly through every position. Complete the following functions: (1) followed by the output through the coordinates of each location (2) better to draw the board' s graphic form, and in its walk on the dynamic process of labeling (3) program can be easily ported to Other specifications of the board.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
马的遍历问题.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.