Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Triangle Golf

by xtrem (Novice)
on Apr 24, 2001 at 19:32 UTC ( #75100=note: print w/replies, xml ) Need Help??


in reply to Triangle Golf

116 with newlines (by wc)
@ARGV="ctriangle.txt"; sub n{print$"x(40-$r/2)."$x\n"} for(map{split}<>){$c=$r,n,$x=''if($r=length($x.=" $_"))>$c}n

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://75100]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2017-02-20 04:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (293 votes). Check out past polls.