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:n!计算的一些优化 Posted by:gemenhao at 2006-06-29 14:20:44 呵呵,我也想过用分治法,可是感觉写起来太烦了 __int64我没敢用,我以为会慢,没想到会这么快,呵呵 我就用的10^5进制,刚好不溢出,可是优化的话,这和编译器关系太大了 掌握不住了 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator