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 |
空间O(k)的空间吗?我想的是a[i][j]表示前j个的最大i段和,但是ms时间空间都很划不来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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator