Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: (golf) Triangle of numbers

by Anarion (Hermit)
on Oct 29, 2001 at 17:12 UTC ( [id://121909]=note: print w/replies, xml ) Need Help??


in reply to (golf) Triangle of numbers

Perhaps its to late, but i want to post my try, i did it before looking at others code:

for(1..$a){printf"%${\length($a*$a/2)}d",$-++;$_==++$?||redo;print$/;$ +?=0}


$anarion=\$anarion;

s==q^QBY_^=,$_^=$[x7,print

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-24 21:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found