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

网上好多AC的代码都有错,数据太不严谨了

Posted by zhangxiafei5217 at 2014-06-04 16:00:51 on Problem 1157
一直WA,实在找不出哪里错了,然后找了几个网上的AC code,比对一下,居然发现还没我的严谨。

样例数据把第二行的第一个数改大一点比如
3 5
7 23 -5 -24 16
28 21 -4 10 23
-21 5 -4 -20 20

很明显结果是71了,好多居然还是53,无语。。。

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