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 13107222 at 2009-07-26 13:46:21 on Problem 2777 and last updated at 2009-07-26 13:47:58
>>>>>我想该题确实可以用线段树做,但是不能用一般思维事先把线段树完整建立,如果先建立好,在更新每一段颜色即相关信息时必须一直更新到最小段,那样很容易tle,必须边建立便更新,这样很多片段信息是没确定的,就不用去管,在更新时减少很多负担。

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