Skip to main content
Added alternate solution
Source Link
DLosc
  • 39.2k
  • 5
  • 83
  • 141

Pip -l, 42 39 34 bytes

RV@<P"|  |".[s'-]X2PE'-X6M_.'x.RV_

Try it online!


Alternate solution, also 34 bytes:

RV@<P"-0|  0|  |--"^0M_@<16RA6,t'x

Try it online!

Pip -l, 42 39 34 bytes

RV@<P"|  |".[s'-]X2PE'-X6M_.'x.RV_

Try it online!

Pip -l, 42 39 34 bytes

RV@<P"|  |".[s'-]X2PE'-X6M_.'x.RV_

Try it online!


Alternate solution, also 34 bytes:

RV@<P"-0|  0|  |--"^0M_@<16RA6,t'x

Try it online!

Golfed 5 bytes
Source Link
DLosc
  • 39.2k
  • 5
  • 83
  • 141

Pip -l, 42 3939 34 bytes

This is gonna get shorter.

Y"|RV@<P"|  ||".[s'-]X2PE'-"YyX6M_.'x.RVyRV@<P['xWR'-X6yR'-sy]RV_

Try it online!Try it online!

Pip -l, 42 39 bytes

This is gonna get shorter.

Y"|  |--"Yy.'x.RVyRV@<P['xWR'-X6yR'-sy]

Try it online!

Pip -l, 42 39 34 bytes

RV@<P"|  |".[s'-]X2PE'-X6M_.'x.RV_

Try it online!

Golfed 3 bytes
Source Link
DLosc
  • 39.2k
  • 5
  • 83
  • 141

Pip -l, 4242 39 bytes

This is gonna get a lot shorter.

Y"|  |--"Yy.'x.RVyYP[yR['|s]'RVyRV@<P['xWR'-yR'X6yR'-sy]RV@<ysy]

Try it online!Try it online!

Pip -l, 42 bytes

This is gonna get a lot shorter.

Y"|  |--"Yy.'x.RVyYP[yR['|s]'-yR'-sy]RV@<y

Try it online!

Pip -l, 42 39 bytes

This is gonna get shorter.

Y"|  |--"Yy.'x.RVyRV@<P['xWR'-X6yR'-sy]

Try it online!

Source Link
DLosc
  • 39.2k
  • 5
  • 83
  • 141
Loading