Comment detail

LL Golf Hole 8 - 横向きのピラミッドを作る (Nested Flatten)

あまり頭を使った回答ができない‥・くぅ

1
2
def l = 1..(args[0]-1)
(l + [args[0]] + l.reverse()).each{ println "*"*it }

Index

Feed

Other

Link

Pathtraq

loading...