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

Re:唉,用记忆dp,最后一个数据集不正确。实在调试不出来。

Posted by 06122589 at 2011-04-23 19:47:21 on Problem 1179
In Reply To:唉,用记忆dp,最后一个数据集不正确。实在调试不出来。 Posted by:userfriendly at 2009-02-17 02:14:22
这个问题后面的帖子中有解释,就是最大值可能是负数,所以在对最大值数组赋值时要用-INF,而不是0.

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