登录
首页 » 算法 » 独立钻石棋问题描述: 有一棋盘, 上有44个钻石棋子,有一位置空缺, 棋盘初始状态如下:    111    111    111 111111111 1111...

独立钻石棋问题描述: 有一棋盘, 上有44个钻石棋子,有一位置空缺, 棋盘初始状态如下:    111    111    111 111111111 1111...

于 2023-01-15 发布 文件大小:6.72 kB
0 212
下载积分: 2 下载次数: 1

代码说明:

独立钻石棋问题描述: 有一棋盘, 上有44个钻石棋子,有一位置空缺, 棋盘初始状态如下:    111    111    111 111111111 111101111 111111111    111    111    111 其中,0表示没有放置棋子, 1表示放置。 规定走法如下: a. 任一棋子可越过一相邻棋子(紧相邻)跳到一空缺位置, 并吃掉越过的棋子(从棋盘移处) 如, 走一步后棋盘状态:    111    111    111 111111111 111110011 111111111    111    111    111 b. 最后只留下一个棋子在棋盘上, 并且位置在正中央。 要求: 用程序得出正确走法。 输入: 无 输出: 每一步移动后的棋盘状态, 格式如上。-independent diamond chess Problem description : a chessboard, there are 44 pieces of diamonds, a position vacant chessboard initial state as follows : 111111111 111101111 111111111 which, 0 no place pawn, a place said. Provisions in law are as follows : a. as a pawn to be crossed an adjacent piece (bear adjacent) jumped to a vacant position, and eaten across the pawn (shift from the chessboard) If, after the chessboard go one step further state : 111111111 111111111 111110011 111111111 111111111 b. leaving only a game son on the chessboard, and in the middle position. Requirements : getting the correct procedures in law. Input : None output : e

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

发表评论

0 个回复

  • Consumerandproducerproblem
    生产者消费者问题 存在竞争互斥 死锁问题的解决 三个线程-Consumer producer problem competition problems mutex deadlock three threads
    2022-02-15 23:13:20下载
    积分:1
  • Gauss
    Gauss-seid迭代法-Gauss- Seid iterative method
    2022-04-23 22:26:13下载
    积分:1
  • 层次分析 、效益分配、幻方
    层次分析法 、效益分配、幻方-AHP, and the benefit distribution, Magic Squares
    2023-05-24 10:05:03下载
    积分:1
  • 高斯
    GAUSS-SEIDEL法的Matlab程序-A programm realizing GUASS-SEIDEL algorithm,written in Matlab.
    2022-01-29 00:52:29下载
    积分:1
  • matlab, c 实现solbel
    用sobel算子实现边缘检测源代码,用C++实现了sobel算子。图像编码完整实现。
    2023-05-11 22:35:03下载
    积分:1
  • flash 游戏
    利用计算器的原理开发的的flash小游戏,界面精美,代码简单清晰,有详细的注释,适合刚as3入门的同学学习。在下才疏学浅,有什么不对的请多多指教
    2022-01-21 02:31:43下载
    积分:1
  • 蒙特卡洛方求PI
    using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Drawing.Drawing2D; using System.Threading;  namespace WinRandomPI {     public partial class GetPIValue : Form
    2022-03-13 01:46:26下载
    积分:1
  • dijkstra alth java
    &此代码用于Dijkstra算法
    2022-01-21 18:53:32下载
    积分:1
  • Fano decoder
    该软件包包括编码器和软判决序贯K = 32,率 1/2 卷积码的译码器。解码器使用Fano 算法。
    2022-06-30 07:13:18下载
    积分:1
  • machine learning tom Tests author of books on the code
    机器学习作者tom mitchell的书上代码-machine learning tom Tests author of books on the code
    2022-11-28 00:00:03下载
    积分:1
  • 696516资源总数
  • 106918会员总数
  • 4今日下载