-
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
-
线索化二叉树的源程序
线索化二叉树的源程序-clues to the source of Binary Tree
- 2022-02-14 18:04:51下载
- 积分:1
-
示例随机数产生方法,符合平均分部和正态分部,示波器显示...
示例随机数产生方法,符合平均分部和正态分部,示波器显示-random sample method, in line with the average Division and the normal divisions, oscilloscope shows
- 2022-03-18 18:29:51下载
- 积分:1
-
计算三点的插值函数的fortran90程序,包括源代码,一个算例和输出文件,简单适用。...
计算三点的插值函数的fortran90程序,包括源代码,一个算例和输出文件,简单适用。-Calculating a three-point interpolation function fortran90 procedures, including source code, a numerical example and output files, simple and applicable.
- 2022-02-27 08:32:48下载
- 积分:1
-
using a tree branch to paint the procedures written in vb
一个用分行来画树的程序,vb写的-using a tree branch to paint the procedures written in vb
- 2022-05-12 22:46:29下载
- 积分:1
-
对任意给定的n,用字典法和邻位互换法生成并打印全部排列。...
对任意给定的n,用字典法和邻位互换法生成并打印全部排列。-right to the arbitrary n, using the dictionary to law and Exchange Act o-generated and print all ranked.
- 2022-02-01 10:43:25下载
- 积分:1
-
C#数据计算方法
资源描述C#涉及的相关数据计算方法,内容很丰富,包括Complex、Integral、Interpolation、LEquations、Matrix、NLEquations等等算法,里面还有很多例子,很不错的基于C#的相关数学计算方法,个人觉得很有用。
- 2022-03-13 05:18:21下载
- 积分:1
-
数据结构关于二叉树
二叉排序树排序关于二叉树的排序问题数据结构课程设计
- 2023-01-12 04:35:04下载
- 积分:1
-
Apriori算法MapReduce
资源描述本代码根据APROORI算法和MapReduce特点,将Apriori算法在Hadoop平台上并行化,通过并行化可以使Apriori算法处理大量的数据而不受单机运算能力的限制。
- 2023-03-06 17:15:03下载
- 积分:1
-
基于最小堆的Huffman算法c语言实现;
基于最小堆的Huffman算法c语言实现;时间复杂度:O(n*lg(n));空间复杂度:O(n*lg(n));
- 2022-03-19 08:51:16下载
- 积分:1