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:求助!!为什么一直WA啊 找不到错误。跪求测试数据

Posted by weihaohaoren at 2011-10-31 16:27:10 on Problem 1042
In Reply To:求助!!为什么一直WA啊 找不到错误。跪求测试数据 Posted by:jlsf_zym at 2009-05-07 11:08:39
我刚开始也是 考虑一种总数相同的情况
当用贪心找到一组答案时 如果与之前的答案一样,那么需要从第一个岛起比较每个岛时间,虽然总岛屿数变多,总时间变少,但是有可能因为新添加的岛鱼的数量比较多,导致有大量剩余时间,这样算在第一个岛的身上,可能第一个岛现在的方案就比刚才的方案多了

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