- UID
- 1564329
- 在线时间
- 小时
- 注册时间
- 2024-7-21
- 最后登录
- 1970-1-1
- 主题
- 帖子
- 性别
- 保密
|
A certain store will order 25 crates of apples. The apples will be of three different varieties--Mclntosh, Rome, and Winesap- and each crate will contain apples of only one variety. If the store is to order more crates of Winesap than crates of Mclntosh and more crates of Winesap than crates of Rome,what is the least possible number of crates of Winesap that the store will order?
这道题答案是9
我思考了一个公式,类似这种“唯一最大组的最小值”的问法,假设有x个物品,分成y组,x除以y=m......n
唯一最大组的最小值=m+(n+1)/2 如果n为奇
=m+1+n/2 如果n为偶
不成熟见解 望指正
|
|