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 |
晕了,这两句话有什么不同?原来 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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator