Re: More printf problems 2

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

>> 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.

>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. =)

        Extending it to limit it by cubuc content would be easy but don't
ask me to choose the best length, width, and height to let the truck be
filled with no empth crevices :)
Bye, Art
Arthur P. Adamson, The Cincinnati Engine Man, euclid at isoc.net

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

Search



Quick Links

User menu

Not signed in.

Misc Menu