-
象棋中马的遍历
1. 设计题目的内容及要求
1) 问题描述
在中国象棋棋盘上,任意一个位置放置一个棋子马,要能选择一套合适的移动路线,按象棋中“马走日”的移动规则不重复地遍历棋盘上每一个位置点。
2) 基本要求
A. 起始位置坐标由用户输入任意指定,然后依次输出所遍历的每个位置坐标。
B. 开始先不必考虑象棋中“蹩马腿”的规则,实现基本遍历功能。
2. 需求分析
1) 功能需求
即实现给定马的起点输出一条马遍历整个棋盘的路径。
2) 数据需求
马的位置用坐标表示。用户输入一个二维数组上的点。
3) 交互界面需求
交互界面应包括功能说明、输出通俗易懂的结果等。结果包括坐标构成的路径和形象化的棋盘棋子的跳动。
- 2022-05-06 08:48:24下载
- 积分:1
-
FreeRTOS_KL16
FreeRTOS_KL16FreeRTOS是一个迷你的实时操作系统内核。作为一个轻量级的操作系统,功能包括:任务管理、时间管理、信号量、消息队列、内存管理、记录功能、软件定时器、协程等,可基本满足较小系统的需要(FreeRTOS is a mini real time operating system kernel. As a lightweight operating system, features include: task management, time management, semaphores, message queues, memory management, recording function, software timer, coroutine, can meet the basic needs of the smaller system)
- 2021-05-12 20:30:02下载
- 积分:1
-
main
Source requirements for at least 5 C or Java source code or programming or other good source of learning materials,
- 2015-12-15 02:32:07下载
- 积分:1
-
AFDX_Training_May_05
机载数据总线设计training幻灯片 详尽介绍AFDX 帧数据格式等(On-board data bus design training slides detailed descriptions of the AFDX frame data formats)
- 2011-05-05 23:52:12下载
- 积分:1
-
photo
vc++6.0进行编程实现对图像的平移处理(vc++6.0 program to achieve the translation of the image processing)
- 2009-04-26 10:26:37下载
- 积分:1
-
atjjs
埃特金加速法,一个数值分析中的算法,大家先看看哦(Aitken acceleration method, a numerical analysis of the algorithm, we look at the flash open her cloak)
- 2007-06-18 10:34:17下载
- 积分:1
-
shuangkui
双馈风电机组的PSCAD模型,是通用模型,有助于帮助解决双馈风电机组建模问题(PSCAD doubly-fed motor model)
- 2013-12-23 21:47:00下载
- 积分:1
-
heapSort.cpp.tar
这是一个堆排序的算法源程序,算法被单独写成一个函数,希望对大家有用(This is a heap sort algorithm source code, algorithms are written as a separate function, we hope to be useful)
- 2013-12-12 14:52:48下载
- 积分:1
-
GEAR
吉尔算法积分一阶微分方程组初值问题的C语言描述,包括主函数、计算微分方程组中各方程右端函数值的函数程序、计算雅克比矩阵的函数程序、矩阵求逆程序等。(GEAR algorithm integral first order differential equations initial value problem of the C language description, including the main function to calculate the differential equations in the equation right function value function procedures, functions Jacobian matrix calculation procedures, matrix inversion procedures.)
- 2021-03-08 11:29:28下载
- 积分:1
-
Repeat-FCM
模糊c均值算法 数据挖掘 机器学习中可使用的一种简单聚类算法(FCM in data mining or machine learing)
- 2016-05-21 09:17:08下载
- 积分:1