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 xfxyjwf at 2006-03-17 13:02:16 on Problem 2765
In Reply To:枚举么……我以为是要解一堆不等式……同问 Posted by:RoBa at 2006-03-17 12:28:41
对于没有确定含量的成分,随便取一个值,然后让其他成分含量尽可能取小,得最小
含量和min,然后尽可能取大,得最大含量和max,如果min<=100<=max,说明假定的值
是可以达到的,如此,就能求出一个范围.

求出每种成分的最大最小值后,再求可能含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