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 windyrobin at 2008-09-18 14:49:03 on Problem 2528
离散化时注意,b 不变,e要加1 ,转化为端点的操作,即最小单元为
[b ,b+1] ,不是[b b] 
imagine the situation :
离散坐标:1 3 6 10
离散下标 [1 2 3 4] 
when insert [1 5]
it should [1 3] [3 10]
not [1 3] [6 10] 

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