Re: A new golf "Matrix" has started
[email protected] ("Riley") Sun, 11 Apr 2004 16:48:31 -0500
| Newsgroups | perl.golf |
|---|---|
| Message-ID | <[email protected]> |
Hello Ton!
-lp /.+()(?{$n|=(${"@-"}.=$&)x=-index$&,0})^/}{$_=length$n
I get 56 instead of 16 on the first test in the testsuite for the above
solution.
Also, can anyone tell me why the following doesn't work?
-lp0 /
/,$_&=$'./1+(?{$;|=$&x$^C})^/while++$^C;$_=length$
Cheers!-Riley (o0lit3)