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:这题我TLE怎么破In Reply To:这题我TLE怎么破 Posted by:1100802111 at 2013-01-28 13:56:58 你那么多for循环能不超吗?我的做法是双向dp,i从0到n求最大子段,j从n到0求最大子段。然后相加求最大的,当然还要剪枝 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator