有50人排队买票,每人至少1张,最多5张,共买了154张票问仅买了1张票的最多有多少人?
--------------------
24ppl
to maximize the ppl who buy only one tickets , we have to maximine the number who buy 5
therefore when ppl buy either one ticket or 5 tickets each , the number that buy one ticket is the largest
and we get the equation set x=number of pplthat buy one ticket ,y=number of ppl buy 5 tickets
x+5y=154
x+y=50
x=24作者: tantan 时间: 2003-1-17 21:57