Ilmari Heikkinen
1/13/2006 9:13:00 PM
On 1/13/06, mental@rydia.net <mental@rydia.net> wrote:> Quoting Ruby Quiz <james@grayproductions.net>:>> > 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.</bad poetry>(=