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:第一次写线段树~~~挺简单的。。。。。

Posted by comzyh at 2010-10-13 09:19:10 on Problem 2777
In Reply To:第一次写线段树~~~挺简单的。。。。。 Posted by:wmkwmkwmk at 2010-08-15 20:48:32
> 因为只有30个变化
> 明显要用到未压缩吧。。。。。
> 其他的就是纯线段树了。。。。咕~~(╯﹏╰)b
> 给组数据吧
> 8 30 13
> C 1 2 3
> C 1 1 10
> P 1 2
> P 1 4
> C 3 4 5
> P 1 4
> P 2 3
> C 4 5 4
> P 1 4
> C 1 4 1
> P 1 2
> P 1 1
> P 1 8
> 
> 2 3 3 2 4 1 1 2
> 把这个数据过了,应该就能过了。。。。

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