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 hawk at 2005-05-12 10:34:25 on Problem 1042
In Reply To:谁能帮我看看呀,wa了一个晚上,实在是查不出错了,贪心法应该过的呀,thx Posted by:tianya at 2005-05-12 08:30:12
因为比如时间t的时候方案a钓到的鱼最多
到t+x的时候,前t时间还用a方案不能保证能达到t+x时候的最优解

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