登录
首页 » 其他项目 » 在西洋棋中的武士与象棋中的马相似,走的都是L形的路,本程序以一个非递归的程序,输入一个表示棋盘的大小值n,在输入一个起点的坐标,找出一条从第一格起可以让武士棋走...

在西洋棋中的武士与象棋中的马相似,走的都是L形的路,本程序以一个非递归的程序,输入一个表示棋盘的大小值n,在输入一个起点的坐标,找出一条从第一格起可以让武士棋走...

于 2022-08-19 发布 文件大小:1.99 kB
0 207
下载积分: 2 下载次数: 1

代码说明:

在西洋棋中的武士与象棋中的马相似,走的都是L形的路,本程序以一个非递归的程序,输入一个表示棋盘的大小值n,在输入一个起点的坐标,找出一条从第一格起可以让武士棋走完n2格而不重复的路径。-In chess and chess in the samurai s horse is similar to walking are L-shaped path, the procedure to a non-recursive procedures, enter a value that the size of the chessboard of n, in the input the coordinates of a starting point to identify a starting from the first grid allows grid n2 samurai chess through the path without duplication.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • pic16f8877a 的源代码
    这是它使用 pwm 的 pic 16f877a 的源代码,它使用 TMR2,它应用调制电机,带领,acoutis 是教大学技术,工业
    2023-05-11 08:40:02下载
    积分:1
  • 约瑟夫环 1. 本演示程序利用一循环链表,每个结点为一人,类似将人按顺时针方向围坐一圈,每个结点包括,号码,密码.号码是作为排的顺序.密码用来作为下一次报数...
    约瑟夫环 1. 本演示程序利用一循环链表,每个结点为一人,类似将人按顺时针方向围坐一圈,每个结点包括,号码,密码.号码是作为排的顺序.密码用来作为下一次报数的数字.当走到结尾时,再下个结点便循环回去,依此类推. 2. 演示程序以用户与计算机的对话方式执行,用户输入相应的数据,输出结果显示在其后。,即总结点数,和密码. 3. 程序执行的命令包括:1)创建链表 2)寻找结点 3)删除结点 4. 测试数据测试数据:m初始值20,n=7,7个人密码依次为:3,1,7,2,4,8,4。首先m值为6,正确出列顺序为6,1,4,7,2,3,5。 -Josephus 1. The demonstration program using a chain cycle, each node to a person, similar to a clockwise direction by people sitting circle, and each node include numbers, Password. As the number is the sequence. used as a password the next few reported figures. When reached at the end, the next nodes will cycle back, and so forth. 2. Demonstration Program to computer users with implementation of the dialogue, the corresponding user input data and output results in later. , Summed up the quota, and password. 3. Procedures for the implementation of the order include : 1) Create List 2) Find node 3) delete nodes 4. test data test data : the initial value of 20 m, n = 7, 7 PIN followed : 3,1,7,2,4,8,4. M value fo
    2022-07-24 02:51:37下载
    积分:1
  • Headfile for AD5337 DAC use DAC_OUT(data value(0~254, DAC_A(0) or DAC_B(1), PD...
    Headfile for AD5337 DAC use DAC_OUT(data value(0~254, DAC_A(0) or DAC_B(1), PD Mode(0: normal, 1: PD mode), Clear mode (1: clear mode, 0: normal)
    2022-11-15 13:45:04下载
    积分:1
  • PSCAD/EMTC
    PSCAD4.5 搭建IEEE13节点仿真系统,可测各种暂态仿真数据,值得学习~ 包括导线相角变化、电压、功率、负荷等
    2022-07-24 14:33:49下载
    积分:1
  • 三国志IX武将编辑器
    三国志IX武将编辑器-Three Kingdoms IX generals Editor
    2022-10-17 11:45:02下载
    积分:1
  • 播放器的c语言程序,通过读取音长基数的值,确定发音的频率,然后按频率值发出歌曲的音调。...
    播放器的c语言程序,通过读取音长基数的值,确定发音的频率,然后按频率值发出歌曲的音调。-Player of the c language program, read through the duration of the base value, to determine the frequency of pronunciation, then issued by the frequency of the pitch songs.
    2022-02-04 11:35:55下载
    积分:1
  • Car that can follow the black lines using the sensors
    利用红外发射器和接收器 使小车能够沿着地面上的黑线循迹前进-Car that can follow the black lines using the sensors
    2022-01-22 15:52:07下载
    积分:1
  • Easy
    好用的查询系统,大家不妨下载试试,多给点意见,-Easy-to-use query system, we may as well try to download more to the point of view
    2022-03-16 21:53:28下载
    积分:1
  • MSP430的SPI库
    该库为德州仪器msp430系列单片机spi库。你可以用这个库处理spi通信。
    2022-07-26 03:41:53下载
    积分:1
  • 程序实现数字图像处理的许多功能,如即时通讯…
    该程序能实现数字图象处理中的很多功能,例如图象复原,小波变换等等!-procedures to achieve the digital image processing of many functions, such as image restoration, wavelet transform, etc.!
    2023-05-15 19:30:03下载
    积分:1
  • 696518资源总数
  • 106164会员总数
  • 18今日下载