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:唉,用记忆dp,最后一个数据集不正确。实在调试不出来。In Reply To:唉,用记忆dp,最后一个数据集不正确。实在调试不出来。 Posted by:userfriendly at 2009-02-17 02:14:22 这个问题后面的帖子中有解释,就是最大值可能是负数,所以在对最大值数组赋值时要用-INF,而不是0. Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator