文件名称:mataqipang
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:3.57kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
用数据结构(C语言版)编写程序,实现一个国际象棋的马踏遍棋盘的演示程序。具体要求为:将马随机放在国际象棋的8*8棋盘的某个方格中,马按走棋规则进行移动。要求每个方格只进入一次,走遍棋盘上全部64个方格。用堆栈编制非递归程序求出马的行走路线,并按求出的行走路线,将数字1,2,3,……,64依次填入一个8*8的方阵,输出之。 -With the data structure (C language version) to write programs to achieve a chess board horse travels to the demonstration program. Specific requirements are: the horses were randomly placed in the 8* 8 chess board in a box, Ma according to the rules of chess to go mobile. Requires that each box is only entered once, traveled all the 64 squares on a chessboard. The preparation of non-recursive procedure with the stack order to run for walking routes, and then find the routes will be the number 1,2,3, ... ..., 64 in turn fill in an 8* 8 matrix, the output of.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
新建 Microsoft Word 文档.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.