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:大牛过来看一下,测试数据通过了,就是wa,郁闷呀

Posted by xiaoyaoxia at 2009-03-26 18:39:16 on Problem 1938
In Reply To:大牛过来看一下,测试数据通过了,就是wa,郁闷呀 Posted by:zhouxiaozi at 2009-03-23 18:23:20
你的求的 int com(int m,int n)错了 
用这个应该AC了
__int64 C(int n,int m)
{		  
		 return m>0?(C(n-1,m-1)*n)/m:1;
}

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