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

请问公式是这样的吗?

Posted by Bupt_Pig at 2006-03-02 09:50:32 on Problem 1701
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:
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