| ||||||||||
| 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 | |||||||||
Re:大牛过来看一下,测试数据通过了,就是wa,郁闷呀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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator