From: Ilmari Heikkinen Date: 2006-01-14T07:08:27+09:00 Subject: Re: [QUIZ] Packing (#62) On 1/13/06, Adam Shelly wrote:> > You're moving. And that means a whole bunch of boxes need to be moved from the> > old place to the new one. You've got a pickup truck to do the moving, but it can> > only hold one vertical level of boxes. The boxes need to be padded with one unit> > worth of foam on each side that's facing another box.> >>> regarding padding, is this a valid result?> 10x10> 5x5 5x5>> #####ooooo> #####ooooo> #####ooooo> #####ooooo> #####ooooo> ooooo#####> ooooo#####> ooooo#####> ooooo#####> ooooo#####>> i.e: do I need to put a pad in the spot marked with the ?> #####o> #####o> #####o> #####o> #####o> ooooo? Yes, that needs to be padded. Each point in a box shouldbe >= 1 units from another box. Good choice of characters btw, works even on fixed-width.