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 |
Re:此乃dpIn Reply To:此乃dp Posted by:frkstyc at 2006-10-23 21:59:03 思想是这样的,当前为oddstep时,总数加上往后的第一个降序的第一个数; 当前为evenstep时,总数减去往后第一个升序的第一个数; 最后一个数需要特殊处理就可以了 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator