摘要
通过对数字填图问题的分析,设计了三种计算机解法,并编程实现所设计的算法。通过对不同算法的比较,体会如何设计高效算法枚举求解问题,并给出了用计算机编程解决整数问题时应该注意的一些问题。
By analyzing the problems of filling figure, the paper designs three computer solutions to these problems and presents their implementation program.Through comparing different algorithms, the paper tells how to design highly efficient enumeration algorithm to solve problems.At last, the paper concludes in the aspects which could be paid attention to when solving mathematical problems about integer with computer programming.
出处
《电脑学习》
2009年第5期112-114,共3页
Computer Study
基金
山西省大学生UIT计划项目(2009005s)
关键词
数字填图
穷举法
排列生成算法
回溯算法
计算误差
计算越界
Filling Figure
Easy Enumeration
Permutation Generation Algorithm
Backtracking Algorithm
CalculationError
Calculation Overflow