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:能不能具体一点?

Posted by watt at 2007-01-23 12:42:15 on Problem 2904
In Reply To:能不能具体一点? Posted by:wuyifan at 2006-08-02 10:15:19
推导关系

for(k0 = start + 1; k0 < end; k0++)
{
	temp2 = k0 + max(ans[k-1][start][k0-1], ans[k][k0+1][end]);
	if(temp1 > temp2)
		temp1 = temp2;
}
ans[k][start][end] = temp1;

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