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

Re:栈溢出

Posted by sbtdkj1017 at 2010-09-08 01:47:51 on Problem 3903
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:
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