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 |
我改成DP了。这题的关键在于B比较小。可以用DP来做。In Reply To:Re:搜索。状态为以当前结尾的最长上升子序列长度。 Posted by:JiaJunpeng at 2014-07-23 23:40:19 > 这种记录方法恐怕搞不定吧。。。。 > 你这样搞至少要记录一个 2^n的状态,否则会转移不下去。。。。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator