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

要用线段树做的话, 加个离散化吧, 不然坐标的跨越范围大(ex:1 Max)而且N值小的数据很多的话, 会很费时....

Posted by qinhanlei at 2008-09-02 16:40:11 on Problem 2528
In Reply To:哪位大大,能帮忙看看,我的线段树??TLE Posted by:killua_hzl at 2008-08-23 14:47:49
离散化参考
http://hi.baidu.com/lsm0789/blog/item/95cb6b0028f40d82e950cd9b.html

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