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 Snow_storm at 2010-10-15 01:17:01 on Problem 3169 and last updated at 2010-10-15 01:17:47
In Reply To:我的质疑 Posted by:Snow_storm at 2010-10-15 01:08:08
例如这组数据
4 2 1
2 4 5
3 4 3
2 4 1

答案应该是-1 而不是-2  因为有矛盾
如果再添加一个约束条件 1 和 4 的距离 最多是5的话
拿答案应该仍是-1  而不是5

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