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 xiangxianzhang at 2014-01-21 11:51:43 on Problem 3104
In Reply To:对于这道题目的理解,希望能对各位有所帮助! Posted by:lgq1205 at 2009-12-03 12:54:33
> 二分枚举时间,判断可行性,然后求解即可.
> 
> 注意判断可行性的过程:
> 
> 1.先把所有衣服的含水量减去T
> 2.然后把>=(k-1)的拿去烘干,可以理解为烘干时候每分钟掉(k-1)水,这样所有的衣服都每分钟自然干掉1水了。因为每分钟掉一滴水是肯定的了,因此,如果你去烘干它的话,那么它就能再掉多k-1 + 1 == k,这样才是k滴水,然后就是计算总花费时间
> 3.最后判断总花费时间时候小于T,若小于等于,则可行性,否则不可行.

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