Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:n!计算的一些优化In Reply To:Re:n!计算的一些优化 Posted by:butterfly at 2006-06-29 16:57:47 vc6.0居然不支持 unsigend __int64 -> double 转换,比较恼火, 在我的AMD3200 64位机器上用__int64比用32位计算快,毕竟少了 3/4的乘法运算量,其实最快方法是 质因数分解,然后计算累计计算,300ms 可计算出123456! 去下载一个http://www.freewebs.com/maths/ 测试一下就知道有多块! Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator