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 _leaf_ at 2009-07-29 00:45:22 on Problem 1151
In Reply To:为什么 Posted by:Andimeo at 2009-07-29 00:32:40
> 这个题目为什么线段树要开8倍的空间才能过,线段树不是最多4倍的嘛
你不会开了4*N吧,每个方向最多产生2*N-1个区间,所以要4*(2*N-1)

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