小说网 找小说 无限小说 烟雨红尘 幻想小说 酷文学 深夜书屋

06 2004 档案

大数阶乘的计算(六)
摘要:前些时间写的关于大整数的阶乘计算,效率总是再难以提高:(http://dev.csdn.net/develop/article/28/28306.shtm,http://dev.csdn.net/develop/article/28/28308.shtm,http://dev.csdn.net/d... 阅读全文

posted @ 2004-06-09 10:08 王峰炬 阅读(199) 评论(0) 推荐(0)

大数阶乘的计算(五)
摘要:很难想象只要改动几句代码就可以大幅提高执行的效率,在前几篇文章中我写了几种大数阶乘的算法(http://www.csdn.net/Develop/read_article.asp?id=28306,http://www.csdn.net/Develop/read_article.asp?id=28... 阅读全文

posted @ 2004-06-07 09:59 王峰炬 阅读(116) 评论(0) 推荐(0)

整数幂的求解
摘要:求整数的幂: Private Sub Command1_Click()power 64, 10000' 64^10000End SubSub power(ByVal x As Long, ByVal n As Integer, Optional ByRef result As String)D... 阅读全文

posted @ 2004-06-05 20:27 王峰炬 阅读(148) 评论(0) 推荐(0)

全国15亿人口中选1000个代表有多少种选法?
摘要:快速组合数C(N,K)=N*(N-1)*(N-2)*...*(N-K+1)/1*2*3*...*K 的求法: Function ZDGYS(ByVal x As Long, ByVal y As Long) As Long 'GET Greatest Common Divisor最大公约数... 阅读全文

posted @ 2004-06-04 11:34 王峰炬 阅读(126) 评论(0) 推荐(0)

导航