Re: More printf problems 2

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Wed, 12 Nov 1997, Arthur Adamson wrote:
>         In the same vein, in answer to Matt's item-sum question, I have just
> completed a prog which will:
>
> 1.      Given a pile of boxes of varying weights (random variation).
> 2.      Given a fleet of trucks of given carrying capacity (all the same).
> 3.      Sort the boxes into truck-loads with the weight approaching but not
> exceeding the truck capacity.
>
>         It runs fast (a few seconds for 500 boxes, 6 trucks) and finds
> "good" answers in the Ralf sense.

That I can see would be a useful program.  Of course, you'd need to have
the boxes varying sizes too to be totally useful.  You NEVER have the
right sized box for something. =)

Michael
We still need a boxing game.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu