From: Ilmari Heikkinen Date: 2006-01-14T06:12:49+09:00 Subject: Re: [QUIZ] Packing (#62) On 1/13/06, mental@rydia.net wrote:> Quoting Ruby Quiz :>> > Example:> > $ ruby solver.rb> > 10x20> > 1x3 4x8 3x7 9x4 10x14> >> > **************.***..> > **************......> > **************.8x4*.> > **************.****.> > **************.****.> > **************.****.> > **************.****.> > **************.****.> > **************.****.> > **************.****.> >> > 9x4******...........> > *********...........> > *********...........> > *********...........> > ....................> > *******.............> > *******.............> > *******.............> > ....................> > ....................>> Whoops, this example shows an 8x4 box, not a 9x4 one. Actually, there's an 8x4 box and a 9x4 box. The small width of the characters really is quite confusing,long lines of asterisks merging into each otherwhile rows are well separated,making counting difficult -a Gestalt law in effect. (=