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,得到序列.求序列的最长非降

Posted by czhczh at 2007-04-03 22:05:42 on Problem 3214
In Reply To:怎么做的? Posted by:mmd at 2007-04-03 21:47:27
x怎么求呢
遍历时,往左走的过程递归回来之后,x=x+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