资源列表
[其它] 求具有abcd=(ab+cd)2性质的四位数
说明:3025这个数具有一种独特的性质:将它平分为二段,即30和25,使之相加后求平方,即(30+25)2,恰好等于3025本身。请求出具有这样性质的全部四位数。 *题目分析与算法设计 具有这种性质的四位数没有分布规律,可以采用穷举法,对所有四位数进行判断,从而筛选出符合这种性质的四位数。具体算法实现,可任取一个四位数,将其截为两部分,前两位为a,后两位为b,然后套用公式计算并判断。 -3025, the figure has a unique character : it divide<姚紫欣> 在 2008-10-13 上传 | 大小:1.04kb | 下载:0
[其它] Gdbhcx(C)
说明:简易哥德巴赫猜想(任何一个大于6的偶数可以分解成两个素数,可以利用枚举法,先把偶数可以分解的所有奇数对列出,再判断是否为素数,直到验证成功为止)-summary Goldbach conjecture (any one of the even greater than 6 can be decomposed into two prime numbers. can enumeration method, the decomposition can even first of all to the<yinlu> 在 2008-10-13 上传 | 大小:1.04kb | 下载:0
[其它] 动态规划法解决矩阵连乘积问题
说明:这是一个小弟用动态规划法解决矩阵连乘积问题的一个算法。-This is a younger dynamic programming matrix to solve even the product of an algorithm.<算法分析> 在 2008-10-13 上传 | 大小:1.04kb | 下载:0