Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

What's the answer to this puzzle? Most unique/golfed solution? (fun)

by blakew (Monk)
on Sep 22, 2011 at 20:57 UTC ( #927466=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    1
    1 1
    2 1
    1 2 1 1
    1 1 1 2 2 1
    
  2. or download this
    my $anchor = @ARGV ? '' : '^';
    printf "%d\n", $_ = '1';
    ...
        }
        print $_ = $new;
    } until ( <STDIN> =~ /\S/ );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://927466]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2022-05-16 18:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (63 votes). Check out past polls.

    Notices?