Location:
Search - magic_cube
Search list
Description: 魔幻方块!输入魔方的阶数n(n为奇数)后,使得魔方的行、列和对角线的值都相等-magic squares! Cube importation of order n (n is odd), the Cube makes rows and columns and diagonal values are equal
Platform: |
Size: 800768 |
Author: 井中月 |
Hits:
Description: 打印奇数阶魔方。N(N为奇数)阶魔方阵是指由1到N*N个自然数构成的N*N方阵,它的每一行、每一列和对角线的各元素之和均相等,3阶魔方阵如下所示:
8 1 6
3 5 7
4 9 2
N阶魔方阵的构造方法为:
首先把1放到顶行的正中间,然后把后续数按顺序放置在右上斜的对角线上,并作如下修改:
(1) 当到达顶行时,下一个数放到底行,好像它在顶行的上面;
(2) 当到达最右端列时,下一个数放在最左端列,好像它紧靠右端列的右方;
(3) 当到达的位置已经填好数时,或到达右上角的位置时,下一个数就放在刚填写数的位置的正下方。
-it is a programming about magic cube.
Platform: |
Size: 937984 |
Author: 灵药 |
Hits:
Description: 描述:转动魔方代码,
运行环境:乐高公司NXT机器人-Description: Cube rotation code, operating environment: Lego NXT Robot
Platform: |
Size: 11264 |
Author: TY |
Hits:
Description: 二阶魔方的最少步数解,包括各种旋转,随即打乱等功能。-searching the least-steps solution for the 2nd order magic cube
Platform: |
Size: 279552 |
Author: shihongxiao |
Hits:
Description: 基于openGL和VC++的三维旋转魔方-openGL VC++
Platform: |
Size: 7815168 |
Author: 李恒 |
Hits:
Description: OpenGL实现的三维模仿,可以转动哦。-OpenGL to achieve a three-dimensional imitation, you can rotate oh.
Platform: |
Size: 102400 |
Author: scarab |
Hits: