| ||||||||||
| 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 | |||||||||
Re:不仅要取最大的,还要取最小的.因为对于乘法来说,两负数的乘积可能会大于两正数的乘积.In Reply To:我用的是O(N^3)的DP。对于每一段,枚举分割点,分割点左、右两边分别取到最大,然后比较怎样分割总和最大。这个算法对吗? Posted by:ImLazy at 2008-09-19 20:14:17 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator