On Jan 31, [EMAIL PROTECTED] said:

>> I wonder what the highest possible ratio is? The best I have come
>> up with so far is 0.5238 (33/63) by modifying Matthew's 60-stroke
>> solution:
>
>One can get as close to 0.833 as one wants, by writing something like:
>
>    $&&=s&&&&&s&&&;
>
>and adding as many 's&&&&&'s after the = as needed to obtain the desired
>ratio.

Add another & on the LHS. ;)

  $&&&=s&&&&&s&&&;

etc.

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.

Reply via email to