测试灌水版 #61614 层

大家看看这个怎么解决

楼主 · 1 楼
太难了
2 楼
现有 M 个小于 50 的数字,分成 N 组。要求每组数字不多于 K 个,并且每组数字之和不大于 50 ,求使得 N 最小的分组?
3 楼
This is an adapted version of Classical problem named "Bin Packing", where the number 50 can be seen as capacity of each bin and M numbers can be seen as m objects with each volume < 50. This problem has been solved for many years. The most frequently used strategy is called "The First Fit Decreasing Strategy".

You can find papers and programs attached with this problem by googling "Bin Packing". See also <<Computer Algorithms----Introduction to Design & Analysis>> written by Sara Baase and Allen Van Gelder Page 572-577(if you are interested in its theoretical proof, programs are also listed there) ,sorry I don't have any chinese book in hand.


BTW: I don't like the ideas of selling and buying posts. It makes the free behavior of academic communication utilitarian, doesn't it?
4 楼
引用 (Cattleman @ 2004年12月21日 12时19分)
This is an adapted version of Classical problem named "Bin Packing", where the number 50 can be seen as capacity of each bin and M numbers can be seen as m objects with each volume < 50. This problem has been solved for many years. The most frequently used strategy is called "The First Fit Decreasing Strategy".

You can find papers and programs attached with this problem by googling "Bin Packing". See also <<Computer Algorithms----Introduction to Design & Analysis>> written by Sara Baase and Allen Van Gelder Page 572-577(if you are interested in its theoretical proof, programs are also listed there) ,sorry I don't have any chinese book in hand.


BTW: I don't like the ideas of selling and buying posts. It makes the free behavior of academic communication utilitarian, doesn't it?

Thanks for Cattleman to answer my question,The problem is a friend asked me,but
I have no idea,You answer is very useful.