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

我开始给的x的值的求法错了,应该在进入右儿子递归前x=x+1,没有右儿子就不要x=x+1了!!!原来这么错的

Posted by czhczh at 2007-04-04 13:25:36 on Problem 3214
In Reply To:算法是后序遍历这个堆,按顺序把反问到的元素减去个值x,得到序列.求序列的最长非降 Posted by:czhczh at 2007-04-03 22:05:42


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