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 |
这题的数据有点水嘛。。。本来是来做一下扩展的一维DP,但是突然意识到有一点不对 input: 2 -1 -1 -2 -1 output: -1 我的AC代码结果是0,但是正确结果应该是-1 突然怀疑上一个一维DP题的正确性。。或许应该加一个条件:至少有一个非负数? Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator