摘要: |
给出一个把0至9这10个数字要求按照一定的规则填入9×9的矩阵中指定了10个位置简单的算法,无论从哪一点出发,它都能从0至9正确地把这10个数字填入矩阵中.最后,用BASIC语言给出程序。 |
关键词: 矩阵填数 算法 BASIC语言 |
DOI: |
投稿时间:1994-02-11 |
基金项目: |
|
“Intelligent Man Never Forgets the Entrance” |
Lou Haipeng1,2, Su Fanglai1,2
|
(1.Lou Haipeng;2.Su Fanglai(Guangxi Academy of Sciences, Nanning, 530003) |
Abstract: |
In a 9×9 matric we assign ten positions and then fill these positions with digits 0 to 9 by specified rule. We can find a simple algorithm, by that no matter which position we start from, these ten digits from 0 to 9 can be correctly filled in the matric. At last, we give a BASIC program of the algorithm. |
Key words: fill a matric with digits algorithm BASIC program |