Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:n!计算的一些优化

Posted by butterfly at 2006-06-29 16:57:47 on Problem 1061
In Reply To:n!计算的一些优化 Posted by:gemenhao at 2006-06-29 14:20:44
呵呵,我也想过用分治法,可是感觉写起来太烦了
__int64我没敢用,我以为会慢,没想到会这么快,呵呵
我就用的10^5进制,刚好不溢出,可是优化的话,这和编译器关系太大了
掌握不住了

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator