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:请教高手求此题的最佳算法,我用DP+QuickSort还不如递归快,还望各位同学不吝赐教!谢谢!

Posted by xh176233756 at 2007-02-26 19:21:30 on Problem 1088
In Reply To:请教高手求此题的最佳算法,我用DP+QuickSort还不如递归快,还望各位同学不吝赐教!谢谢! Posted by:Nowitzki at 2007-02-26 15:06:30
递归时将中间结果保留住(用静态变量或全局都可以)……

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