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 |
sample测试的时候出问题可是居然AC...Orz...double solve() { double ret=1,i; for(i=1;i<=q;i++)ret*=(p-q+i)/i; for(i=1;i<=s;i++)ret*=i/(r-s+i); return ret; } 暴力过了-______________- Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator