Comment detail

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

pure bash。86B。

1
2
3
4
while ((i++<$1**2));do
  echo -n \*
  ((++j>m))&&echo&&((j=0,i<($1+1)*$1/2?m++:m--))
done

Index

Feed

Other

Link

Pathtraq

loading...