-
独立钻石棋问题描述: 有一棋盘, 上有44个钻石棋子,有一位置空缺, 棋盘初始状态如下: 111 111 111 111111111 1111...
独立钻石棋问题描述: 有一棋盘, 上有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
- 2023-01-15 08:55:03下载
- 积分:1
-
归并排序算法的C++
该代码读取输入文本文件并将其排序,然后将这些数字排序为输出文本文件。代码使用合并排序算法进行排序。
- 2022-08-13 23:57:35下载
- 积分:1
-
C++Primer第五版课本源代码
C++Primer第五版课本源代码,与课本同步,尽可能的提高初学者学习C++的速度和深度 C+Primer+Plus +5th+Edition
- 2023-03-08 16:30:03下载
- 积分:1
-
一个计算拉个朗日插值很好的程序,绝对正确无误。
一个计算拉个朗日插值很好的程序,绝对正确无误。-A calculation of long pull on a good interpolation procedure, is absolutely correct.
- 2022-04-30 12:50:43下载
- 积分:1
-
Genetic Algorithm, is an evolutionary algorithm, the basic principle is to emulate the biosphere in
遗传算法是一种进化算法,其基本原理是模仿生物圈中“物竞天择、适者生存”的进化规律。该方法将遗传算法的参数编码为染色体,再利用迭代的方式,如选择、交叉和变异等算子来交换染色体种群的信息,得到优化目标在染色体上的行;
- 2023-08-30 21:25:03下载
- 积分:1
-
使用RSA数字签名
//Rivest,Shamir,Adelman(RSA)#include#include#include#include#include#include#includeint enumber(char);char denumber(int);int CK_PRIME(long int);long int Get_GCD(long int,long int)
- 2022-01-22 03:04:32下载
- 积分:1
-
数据结构源码实现
很全的数据结构源代码,线性表、树、图的代码都有具体实现。以及字符串的各种操作
- 2022-02-06 11:51:57下载
- 积分:1
-
字符串模式匹配算法(KMP算法)
字符串的模式匹配(KMP算法)-string pattern matching (KMP algorithm)
- 2022-01-25 20:35:54下载
- 积分:1
-
基于遗传算法的pid控制器
基于遗传群算法的PID控制器优化设计,通过对PID三个变量比例、积分和微分的参数寻优,得到最佳的三个参数,得到控制器最好输出曲线,其超调量最小,超调时间小。
- 2022-03-25 04:51:34下载
- 积分:1
-
Support vector regression machines blind equalization algorithm, which uses the...
支持向量回归机的盲均衡算法,其中使用的是v算法-Support vector regression machines blind equalization algorithm, which uses the algorithm v
- 2022-04-10 20:22:28下载
- 积分:1