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 |
Re:枚举么……我以为是要解一堆不等式……同问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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator