摘要
关于幻方研究从始至今一直没有停歇过,随着计算机的出现,幻方在图论、程序设计、实验设计、对策论、概率统计、人工智能以及工艺美术等方面得到了广泛应用,针对幻方的三种基本类型进行算法分析,并分别通过C语言实现。
Research of magic square has never been stopped from the beginning.With the development of computer, magic square has been widely used in graph theory, programming design, experiment design, game theory, probability and statistics, Artificial Intelligence and arts and crafts.The paper analyzes three basic types of algorithms of magic square, which are respectively realized by C language.
出处
《电脑学习》
2010年第4期70-71,共2页
Computer Study
关键词
幻方
奇阶幻方
偶阶幻方
算法
C程序
Magic Square Odd-order Magic Square Even-order Magic Square Algorithm C Programming Language