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

晕了,这两句话有什么不同?

Posted by Iamjw at 2006-09-06 22:20:55 on Problem 2819
原来 c = c * (n - i + 1) / n / i 一直WA
改成 c = c / n / i * (n - i + 1) 后才AC 
(c 是 double, n, i都是 __int64)
是前者精度不行吗?

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