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:栈溢出In Reply To:还请指教:用DP求解,为何WA?代码如下: Posted by:WonderStar at 2010-08-08 21:12:18 最长调用链可以达十万级。想想非递归算法吧。另外该算法的复杂度为N^2,需要NlogN才能AC Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator