Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2016-09-28 11:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (526 votes). Check out past polls.