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是long范围之内的,而没说n*(n-1)*...*(n-m+1)还有m*(m-1)*...*2也是long范围之内的。不难知道:C=n*(n-1)*...*(n-m+1) / m*(m-1)*...*2; Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator