文件名称:mofangzhen
介绍说明--下载内容均来自于网络,请自行研究使用
1. 设计数据结构;
2. 设计算法完成任意n阶魔方阵的填数;
3. 分析算法的时间复杂度
魔方阵,又叫幻方阵,在我国古代称为“纵横图”。它是在一个n*n的矩阵中填入1到n*n的数字(n为奇数),使得每一行,每一列,每条对角线的累加和都相等。-Design data structure design algorithm to complete the fill in the number of arbitrary order n magic square time complexity of the analysis algorithms magic square, also known as the magic square, in ancient China known as the " aspect graph. It is to fill in a matrix of n* n n* n the number (n is odd), so each row, each column, each diagonal sum are equal.
2. 设计算法完成任意n阶魔方阵的填数;
3. 分析算法的时间复杂度
魔方阵,又叫幻方阵,在我国古代称为“纵横图”。它是在一个n*n的矩阵中填入1到n*n的数字(n为奇数),使得每一行,每一列,每条对角线的累加和都相等。-Design data structure design algorithm to complete the fill in the number of arbitrary order n magic square time complexity of the analysis algorithms magic square, also known as the magic square, in ancient China known as the " aspect graph. It is to fill in a matrix of n* n n* n the number (n is odd), so each row, each column, each diagonal sum are equal.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
魔方阵.doc