Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by blakew (Monk)
on Sep 22, 2011 at 20:57 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-26 04:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found