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 |
请问公式是这样的吗?In Reply To:公式加错了 Posted by:huicpc11 at 2005-11-30 18:46:36 s=num=up[m]=0; for(i=m-1;i>=1;i--) { s=s+num+a*k[i+1]; up[i]=up[i+1]+s; num=num+k[i+1]; } s=num=down[1]=0; for(i=2;i<=m;i++) { s=s+num+b*k[i-1]; down[i]=down[i-1]+s; num=num+k[i-1]; } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator