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

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

于 2023-01-15 发布 文件大小:6.72 kB
0 177
下载积分: 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 个回复

  • The essence of Newton method is used constantly to approximate tangent curve, th...
    Newton法的本质就是不断用切线来近似曲线,因此,Newton法也称为切线方法。本程序用Newton法求解n元正定函数的最小值,例子在程序中。-The essence of Newton method is used constantly to approximate tangent curve, therefore, Newton method, also known as tangent method. This procedure using Newton method to solve n-positive definite function of the minimum value, for example, in the proceedings.
    2022-05-08 02:16:18下载
    积分:1
  • 有用的光盘工具安装向导软件
    有用的光盘工具安装向导软件-useful tool installation wizard CD-ROM software
    2022-03-03 10:35:37下载
    积分:1
  • 不同版本的VOF程序 《运动界面追踪数值模拟方
    不同版本的VOF程序 《运动界面追踪数值模拟方法》-Different VOF programs, thet are abtained from the book by Liu Ru Xun.
    2022-05-15 17:39:18下载
    积分:1
  • 本程序主要实现了离散时间的傅立叶变换,具有很强的可移值性,原理简单。...
    本程序主要实现了离散时间的傅立叶变换,具有很强的可移值性,原理简单。-This procedure has been the main achievement of the discrete-time Fourier transform, has a strong value can be changed, and simple.
    2022-05-05 00:15:02下载
    积分:1
  • Exceptional C++ shows by example how to go about solid software engineering. Alo...
    Exceptional C++ shows by example how to go about solid software engineering. Along with a lot of other material, this book includes expanded versions of the first 30 issues of the popular Internet C++ feature Guru of the Week (or, in its short form, GotW), a series of self-contained C++ engineering problems and solutions that illustrate specific design and coding techniques.
    2022-12-15 03:15:03下载
    积分:1
  • C + + 二汽
    这是只是为了检查如何启动一个简单的 c + + 程序的示例代码。这是只是为了检查如何启动一个简单的 c + + 程序的示例代码。这是只是为了检查如何启动一个简单的 c + + 程序的示例代码。这是只是为了检查如何启动一个简单的 c + + 程序的示例代码。这是只是为了检查如何启动一个简单的 c + + 程序的示例代码。这是只是为了检查如何启动一个简单的 c + + 程序的示例代码。这是只是为了检查如何启动一个简单的 c + + 程序的示例代码。这是只是为了检查如何启动一个简单的 c + + 程序的示例代码。这是只是为了检查如何启动一个简单的 c + + 程序的示例代码。这是只是为了检查如何启动一个简单的 c + + 程序的示例代码。这是只是为了检查如何启动一个简单的 c + + 程序的示例代码。这是只是为了检查如何启动一个简单的 c + + 程序的示例代码。
    2023-05-04 20:50:02下载
    积分:1
  • 用数值积分实现C++语言的程序
    此程序为C与语言编写的数值积分算法-procedure for the C language with the numerical integration algorithm
    2022-05-25 12:34:11下载
    积分:1
  • 等离子体PIC模拟
    等离子体PIC模拟-PIC simulation of plasma
    2022-11-02 03:45:04下载
    积分:1
  • 稀疏矩阵运,c语言实现。
    稀疏矩阵运算,c语言实现。-sparse matrix operations, c language.
    2022-04-12 09:51:59下载
    积分:1
  • lisp语言用Delaunay三角网求土石方量
    本程序为lisp语言编写的AutoCAD二次开发程序,包括lisp源程序代码和程序测试图。 本程序适合AutoCAD二次开发初学者学习之用,代码比较简单,所用函数也都是基本的函数,并且程序中包含详细注释。适合大学测绘、采矿等工科类学生学习使用。 本程序程序功能: 三角网法土石计算,采用“插点法”构建Delaunay三角网,并求出土石方总体积。 说明:插点法构建Delaunay三角网程序来自AutoDesk讨论组。
    2023-07-05 05:35:03下载
    积分:1
  • 696518资源总数
  • 106155会员总数
  • 8今日下载