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

空间O(k)的空间吗?我想的是a[i][j]表示前j个的最大i段和,但是ms时间空间都很划不来

Posted by achilles at 2005-07-17 10:29:59 on Problem 2479
In Reply To:k段的话应该是时间O(k*n)空间O(k)的dp吧? Posted by:ArXoR at 2005-07-17 10:25:08


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