Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
我开始给的x的值的求法错了,应该在进入右儿子递归前x=x+1,没有右儿子就不要x=x+1了!!!原来这么错的In Reply To:算法是后序遍历这个堆,按顺序把反问到的元素减去个值x,得到序列.求序列的最长非降 Posted by:czhczh at 2007-04-03 22:05:42 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator