登录
首页 » 算法 » odd N bands Demon Lineup : N

odd N bands Demon Lineup : N

于 2022-01-21 发布 文件大小:6.14 kB
0 184
下载积分: 2 下载次数: 1

代码说明:

奇数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

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

发表评论

0 个回复

  • HMM源码 java版,可以直接放到weka里用
    HMM源码 java版,可以直接放到weka里用,他是一个HMM算法的代码包,当需要在weka里使用该算法是,就可以通过配置 将其添加到weka里使用
    2022-08-18 17:53:53下载
    积分:1
  • 打印0°至90°的三角函数表
    打印0°至90°的三角函数表-Print 0 to 90 trigonometry table
    2022-04-11 09:51:20下载
    积分:1
  • 2022-01-27 11:46:19下载
    积分:1
  • 泛型的粒子滤波
    泛型粒子过滤器: 注: 重采样对这种演算法称为每个步骤执行时引导粒子滤波
    2022-02-02 16:53:42下载
    积分:1
  • 矩阵计C语言源代码
    采用C语言,编写了矩阵计算常用的一些函数,比如矩阵转置,矩阵求逆,矩阵的加减乘除等
    2023-01-16 05:25:03下载
    积分:1
  • 自适应差分进化
    最近一段时间优化方法,尤其是进化计算技术,属于主要讨论的话题。遗传算法中,相对较新的方法,在这一领域 (他们的发展已经开始十或十五年前),越来越会变得越来越流行的工具,为解决日益谱的优化任务,已知的一些实际应用。我们已开始处理这些方法,2000 年夏天。有人能帮助我们解决当今来到焦点的优化问题相对不同套的同样可靠的、 有效的和通用算法需要。除其他外一直在调查以下几个问题: 鉴别材料模型参数、 回归分析、 可以用来从实验 resultstopological optimizationssome 工程任务,例如,钢筋混凝土梁与其他结构和结构构件的优化近似的材料模型参数估计的神经网络的训练。
    2022-03-29 22:55:26下载
    积分:1
  • 这是一个单片机实用子程序集,有丰富的实用定点数计,浮点数计,及控制类子程序!适合单片机开发者参考工具。 该代码执行效率高,通过编译。
    这是一个单片机实用子程序集,有丰富的实用定点数计算,浮点数计算,及控制类子程序!适合单片机开发者参考工具。 该代码执行效率高,通过编译。-This is a single-chip utility subroutine sets, has a wealth of practical fixed-point computing, floating-point calculation, and control of type subroutine! Suitable for single-chip reference tool for developers. Efficient implementation of the code through the compiler.
    2022-04-16 02:56:46下载
    积分:1
  • 拉格朗-牛顿
    拉格朗-牛顿算法-LaGrand-Newton algorithm
    2022-01-23 10:20:33下载
    积分:1
  • 红外目标跟踪程序
    利用Vc++编写的红外目标跟踪程序,具有非常好的鲁棒性,适用于动目标的检测和跟踪,希望对大家有帮助!!!
    2023-03-12 10:50:04下载
    积分:1
  • 高斯赛德尔全主元逆矩阵
    高斯赛德尔全主元逆矩阵-high Shisaideer all PCA inverse matrix
    2022-01-28 06:45:30下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载