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 twilight at 2009-09-12 19:35:43
In Reply To:Re:Sample 2 正方形被另一个价值大的盖掉的一部分怎么处理呢?离散化+线段树这个大的框架肯定是的 Posted by:cuiaoxiang at 2009-09-12 18:14:44
把价值3的拆成3个,2的拆2个,然后扫3次。拆是逻辑上的,实际做只要事先对价值排序,插入删除时判断下就可以了

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