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

我用回溯和生成函数都做过,必然超时,利用一下奇数和偶数的关系很容易dp

Posted by frkstyc at 2005-04-18 12:51:39 on Problem 2229
In Reply To:这个题必须dp吗? Posted by:tide713 at 2005-04-18 12:42:04
>    我看数据挺大的。估计用正常的回溯过不了的吧!?

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