Path: g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!noris.net!not-for-mail From: Adam Shelly Newsgroups: comp.lang.ruby Subject: Re: [QUIZ] Packing (#62) Date: Sat, 14 Jan 2006 06:47:24 +0900 Lines: 33 Message-ID: <491107790601131347i1db86f4fr344f8d25335c6c95@mail.gmail.com> References: <20060113133829.DEPF8318.centrmmtao04.cox.net@localhost.localdomain> NNTP-Posting-Host: sinus.lauschmusik.de Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ork-un.noris.net 1137188873 21295 213.95.32.201 (13 Jan 2006 21:47:53 GMT) X-Complaints-To: news@noris.net NNTP-Posting-Date: Fri, 13 Jan 2006 21:47:53 +0000 (UTC) X-received-from: This message has been automatically forwarded from the ruby-talk mailing list by a gateway at lauschmusik.de. If it is SPAM, it did not originate at lauschmusik.de. Please report the original sender, and not us. Thanks! Please see http://hypermetrics.com/rubyhacker/clrFAQ.html#tag24 to. In-Reply-To: <20060113133829.DEPF8318.centrmmtao04.cox.net@localhost.localdomain> X-ML-Name: ruby-talk X-Mail-Count: 175743 X-ruby-talk: <491107790601131347i1db86f4fr344f8d25335c6...@mail.gmail.com> X-rubymirror: yes > You're moving. And that means a whole bunch of boxes need to be moved fro= m 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 o= ne 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?