Skip to main content
added 29 characters in body
Source Link
noodle person
  • 10.3k
  • 1
  • 22
  • 76

Uiua, 66 4 bytes

↯:0°⋯⇌⊚°⋯⇌

Try itTry it

Convert from binary, reshape scalar 0use where to itchange this to an array of N 0s.

Before I knew about °⋯:

Uiua, 13 bytes

×0⇡/+×ⁿ:2⇌⇡⧻.

Try it

Multiply by powers of 2, sum, range, multiply each by 0.

Uiua, 6 bytes

↯:0°⋯⇌

Try it

Convert from binary, reshape scalar 0 to it.

Before I knew about °⋯:

Uiua, 13 bytes

×0⇡/+×ⁿ:2⇌⇡⧻.

Try it

Multiply by powers of 2, sum, range, multiply each by 0.

Uiua, 6 4 bytes

⊚°⋯⇌

Try it

Convert from binary, use where to change this to an array of N 0s.

Before I knew about °⋯:

Uiua, 13 bytes

×0⇡/+×ⁿ:2⇌⇡⧻.

Try it

Multiply by powers of 2, sum, range, multiply each by 0.

added 208 characters in body
Source Link
noodle person
  • 10.3k
  • 1
  • 22
  • 76

Uiua, 136 bytes

↯:0°⋯⇌

Try it

Convert from binary, reshape scalar 0 to it.

Before I knew about °⋯:

Uiua, 13 bytes

×0⇡/+×ⁿ:2⇌⇡⧻.

Try it

Multiply by powers of 2, sum, range, multiply each by 0.

Uiua, 13 bytes

×0⇡/+×ⁿ:2⇌⇡⧻.

Try it

Multiply by powers of 2, sum, range, multiply each by 0.

Uiua, 6 bytes

↯:0°⋯⇌

Try it

Convert from binary, reshape scalar 0 to it.

Before I knew about °⋯:

Uiua, 13 bytes

×0⇡/+×ⁿ:2⇌⇡⧻.

Try it

Multiply by powers of 2, sum, range, multiply each by 0.

added 60 characters in body
Source Link
noodle person
  • 10.3k
  • 1
  • 22
  • 76

Uiua, 13 bytes

×0⇡/+×ⁿ:2⇌⇡⧻.

Try it

Multiply by powers of 2, sum, range, multiply each by 0.

Uiua, 13 bytes

×0⇡/+×ⁿ:2⇌⇡⧻.

Try it

Uiua, 13 bytes

×0⇡/+×ⁿ:2⇌⇡⧻.

Try it

Multiply by powers of 2, sum, range, multiply each by 0.

Source Link
noodle person
  • 10.3k
  • 1
  • 22
  • 76
Loading