-
独立钻石棋问题描述: 有一棋盘, 上有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语言
资源描述利用显示格式求解非定常热传导方程,网格点数100,时间步长0.01,第一类边界条件
- 2022-07-27 22:08:22下载
- 积分:1
-
Quicksort
快速排序&huffman-Quicksort
- 2022-09-05 00:25:03下载
- 积分:1
-
Fortran科学计算程序,计算原子间力的大小,能级分布
Fortran科学计算程序,计算原子间力的大小,能级分布-Fortran scientific computing procedures, calculation of inter-atomic force size, level distribution
- 2022-08-24 15:49:45下载
- 积分:1
-
最尺度法的C++算法程序,计算速度较快较精确
最尺度法的C++算法程序,计算速度较快较精确-The most scales of the C++ algorithm program to calculate a more accurate speed
- 2022-06-15 15:26:40下载
- 积分:1
-
整数类型超过 128 个字符
用C语言写的一个将大于128的整型数转换为Unicode的字符型字符, ascii基本表最大描述字符只有127大于127的字符为ascii扩展表, 正常转换时为不可见字符, 这个算法能够实现不可见字符的转换.
- 2023-01-05 05:25:03下载
- 积分:1
-
a program for calculating factorial.
阶乘,一个数学公式-a program for calculating factorial.
- 2023-07-03 00:25:02下载
- 积分:1
-
本程序适用于求解形如f(x)=1/2*x Ax+bx+c二次函数的稳定点
本程序适用于求解形如f(x)=1/2*x Ax+bx+c二次函数的稳定点
-This procedure applies to solution of the form f (x) = 1/2* x" Ax+ bx+ c quadratic function of the stable point
- 2023-06-20 20:15:02下载
- 积分:1
-
曼彻斯特编解码 Xilinx提供 Verilog代码manchester_verilog
曼彻斯特编解码 Xilinx提供 Verilog代曼曼彻斯特编解码 Xilinx提供 Verilog代码manchester_verilog彻斯特编解码 Xilinx提供 Verilog代码manchester_verilog码manchester_verilog
- 2023-03-26 14:35:03下载
- 积分:1
-
玉米颗粒的检测算法
使用Matlab的GUI设计,实现了一种谷物(玉米)自动计数的方法。
- 2022-01-31 12:58:27下载
- 积分:1