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 sspp at 2004-11-25 09:52:31 on Problem 1163
In Reply To:难道这道题不能用递归程序做?请牛人回答! Posted by:tide713 at 2004-11-24 20:42:44
递归的时候保存中间状态就可以通过
这样也就是动规了

直接递归几乎每个状态都要处理好多次,其实只处理一次就可以了

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