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

这题的数据有点水嘛。。。

Posted by BoopsA at 2020-08-15 16:50:22 on Problem 1050
本来是来做一下扩展的一维DP,但是突然意识到有一点不对
input:
2
-1 -1
-2 -1
output:
-1

我的AC代码结果是0,但是正确结果应该是-1

突然怀疑上一个一维DP题的正确性。。或许应该加一个条件:至少有一个非负数?

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