Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
应该不能贪心,要用dp的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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator