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

odd N bands Demon Lineup : N

于 2022-01-21 发布 文件大小:6.14 kB
0 218
下载积分: 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 个回复

  • Based on direct LU decomposition method, to solve complex coefficients equations...
    基于LU分解的直接求解方法,求解复系数方程组A.x=b的解-Based on direct LU decomposition method, to solve complex coefficients equations Ax = b solution
    2022-02-01 04:50:07下载
    积分:1
  • not know if you can build success!TCwin
    也不知道大家能不能编译成功!偶在偶机器上用TC可以编译成功,但用win-tc就不能 ̄还有编译成功的.exe文件发给别人看也不能正确显示结果,郁闷,偶都不知道哪儿错了,请大虾帮我看看,还有要怎么修改计算机当前时间!-not know if you can build success!TCwin-tc.exe
    2022-03-20 20:56:04下载
    积分:1
  • 流形学习的源代码
    流形学习的源代码,ISOMAP和LLE方法来实现。
    2022-02-03 15:17:00下载
    积分:1
  • Shortest Path
    资源描述Write a program to find the weighted shortest distances from any vertex to a given source vertex in a digraph. If there is more than one minimum path from v to w, a path with the fewest number of edges is chosen. It is guaranteed that all the weights are positive and such a path is unique for any vertex.
    2022-08-26 06:49:00下载
    积分:1
  • 线性局部嵌入算法
    LLE算法是最近提出的针对非线性数据的一种新的降维方法,处理后的低维数据均能够保持原有的拓扑关系。它已经广泛应用于图像数据的分类与聚类、文字识别、多维数据的可视化、以及生物信息学等领域中。本程序主要是实现了局部线性嵌入算法。并给出了测试程序。 
    2022-01-28 18:27:25下载
    积分:1
  • 九维的卡尔曼滤波跟踪算法,包括xyz三方向和各方向的位置,速度,加速度。...
    九维的卡尔曼滤波跟踪算法,包括xyz三方向和各方向的位置,速度,加速度。-Nine-dimensional Kalman filter tracking algorithm, including the three xyz direction and the location of the direction, velocity, acceleration.
    2022-04-18 23:39:23下载
    积分:1
  • 一款工程FFT的计算,包括非常详细的开发文档。 里面有经典的关于复数的算法。...
    一款工程FFT的计算,包括非常详细的开发文档。 里面有经典的关于复数的算法。-FFT calculation of a project, including the development of very detailed documentation. There are classic on the complex algorithms.
    2022-01-28 08:41:28下载
    积分:1
  • 模式识别中的各种计算方法,包括贝叶斯方法和方法。
    模式识别的各种计算方法,包括贝叶斯等方法-Pattern recognition of various calculation methods, including Bayesian methods such as
    2022-07-27 09:26:31下载
    积分:1
  • C++ FFT完整实现
    资源描述C++ FFT完整实现,提供对于FFT算法的一整套完整实现,基于VS平台,进行了部分优化,运行速度快,适用于多个平台,使用maven对项目进行管理。
    2022-11-21 15:45:03下载
    积分:1
  • 交通灯动态物体识别
    该代码通过摄像头对动态的物体进行识别,发现有违章的或者闯红绿灯的返回信息,并在窗口处显示出来,如果没有违章的物体则不显示出来。
    2023-07-03 02:05:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载