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

ft..原来是数组开小了,开到600000就过了,想不通!!

Posted by hhhh at 2006-08-29 21:55:14 on Problem 2828
In Reply To:顶一下,非常想弄清楚线段树,请诸位帮个忙 Posted by:hhhh at 2006-08-29 08:24:13
线段树表示[1,n]的区间,叶子结点是单个数字的时候,难道开2*n的数组不够吗?真想不通。。。。

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