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

Re:题目不是说i<=j<p<=q吗?!为什么两个区间还可以邻接

Posted by 123456789haha at 2012-06-27 10:39:07 on Problem 2593
In Reply To:题目不是说i<=j<p<=q吗?!为什么两个区间还可以邻接 Posted by:taylor_tao at 2008-08-19 12:36:50
> 题目说i<=j<p<=q
> 
> 那样的话两个区间应该是不能邻接的吧
> 
> 可是我按两个区间不能邻接算,一直wa
> 
> 后来改成两个区间可以邻接,也就是 1 2 3 4 5 的max等于15的时候,终于ac了
> 
> 什么世道啊,我觉得题目既然都写i<=j<p<=q了,那应该是不能邻接的啊
> 
> 如果能邻接那应该写:i<=j<=p<=q  才对嘛!
> 
> 莫非我理解错了。。。。
> 
> 明白人来说一下

1 2 3 4 5  i=1,j=2,p=3,q=5   p!=j呀    题目没错做啊

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