-
odd N bands Demon Lineup : N
奇数N 阶魔方阵问题: 奇数N 阶魔方阵的构造规则如下: 1、在第一行的正中间填入1; 2、如果左上角能够移动,则往左上角填入后继的数;如果左上角不 能移动,则顺移到该列最下方左边的一列中最靠近该列的位置; 3、如果左上角不能移动,同时在该列位置的最下方左边最靠近的位 置处也不能填入数,则往该位置的上一行的最右边的位置处填入 后继数; 4、每次尽可能地往左上角填数,如果发现左上角已经填满了数,则 从当前填的数的位置下方填上后继数。 要求: 无。 输入: 用户从键盘任意输入一个正奇数。 输出: 打印出该魔方阵。-odd N bands Demon Lineup : N-odd magic Lineup Construction Rules are as follows : 1, the first line is the middle of a preference; Two, if the upper left corner to Mobile, the successor to fill in the upper left; If the upper left corner, unable to move, with the move out of the bottom of the left one of the closest out of position; three, if the upper left corner, unable to move, while in the position shown in the bottom left nearest location Department has not entered a few, to the position of the party on the right side of the positions filled successor; 4, each possible to fill the upper left corner, if fill the upper left corner, has found a few, from the current fill several positions to fill in the bottom subsequent few. Requ
- 2022-01-21 19:39:47下载
- 积分:1
-
A*算法 最优寻路算法
///////////////////////////////////////////////////////////
// A*算法 最优寻路算法
// 算法是一种静态路网中求解最短路最有效的算法
// 1)公式表示为: f(n)=g(n)+h(n),
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-04-18 00:37:18下载
- 积分:1
-
l系统分形树
这是一个程序,用分形方法构建一个简单的树(生长王涛) 运行该程序,并双击鼠标在客户端领域,那么 简单的树将被显示在屏幕上。一个有趣的事情是,如果你 再次双击,用不同的appreance一个新的树将建成。
- 2022-04-24 20:22:15下载
- 积分:1
-
一个由浅入深的演示CRC算法的例子,对于理解CRC算法比较好用
一个由浅入深的演示CRC算法的例子,对于理解CRC算法比较好用-An easy-to-digest algorithm demo examples of CRC, the CRC algorithm easy to understand
- 2022-09-08 10:00:02下载
- 积分:1
-
Microsoft CryptoAPI
Microsoft CryptoAPI 可以自己看看
!
- 2022-01-26 08:19:07下载
- 积分:1
-
ViBe背景检测算法、前景检测、运动检测
对源代码做了少量修改,源代码来源忘记了;
代码为ViBe背景检测算法,也可用来做前景检测或者运动检测相关的内容;
检测效果较好,可通过参数进行调节 样本更新率等。
- 2022-01-22 08:38:17下载
- 积分:1
-
自由始端和终端的动态规划,求指标函数最小值的逆序算法递归。...
自由始端和终端的动态规划,求指标函数最小值的逆序算法递归。-The free end of the beginning and end dynamic programming, the minimum value of the reverse index function request recursive algorithm.
- 2022-08-26 08:23:31下载
- 积分:1
-
捷联惯导仿真程序
学习SINS的好程序,里面具有完整的注释。程序里包含有轨迹发生器,惯导解算,初始对准,卡尔曼滤波,并有sins与gps组合导航程序代码。可以适当改变一些参数,看看其它仿真效果。
- 2022-08-26 11:14:15下载
- 积分:1
-
原始生成随机数
原创的可以产生随机数-original generate random numbers
- 2022-03-20 18:51:36下载
- 积分:1
-
Delphi使用AES算法加密源码下载
整合网上下载到的资源(ElAES.pas,AES.pas),在Delphi7下编译后,测试能用
- 2023-07-07 06:10:03下载
- 积分:1