From: Ross Bamford Date: 2006-05-06T07:20:00+09:00 Subject: Re: [QUIZ] Bracket Packing (#78) On Sat, 2006-05-06 at 04:42 +0900, MenTaLguY wrote: > On Fri, 5 May 2006 23:38:05 +0900, Ross Bamford wrote: > > On Fri, 2006-05-05 at 23:23 +0900, st103@doc.ic.ac.uk wrote: > >> Surely that isn't possible, some combinations could have more than one > > possible > >> correction, eg: > >> > >> [{BB] => [{B}B] > >> or > >> [{BB] => [{BB}] > > > > Either of the above is valid - the main object of this is just to make > > sure the packer doesn't get in a mess, and both of those will pass > > through fine (even if the wrappings aren't exactly as intended). > > Hmm, to clarify, brackets can have non-bracket siblings? It's technically allowed in the output, but would never occur in a correct input. -- Ross Bamford - rosco@roscopeco.REMOVE.co.uk