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

DP确实爽啊,一次水过。

Posted by mightyvoice at 2009-06-06 13:30:46 on Problem 1157
   没想到居然一下就推出状态方程了:
    dp[i][j]= max{ dp[i-1][k] , 1<=k<j} + a[i][j];
   dp[i][j]表示到第i束花的第j个花瓶能取的最大值。

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