Skip to main content
Not non-competing
Source Link
emanresu A
  • 44.2k
  • 5
  • 100
  • 240

05AB1E, 4 bytes (non-competing)

Since the language postdates the challenge, this is non-competing

Code:

L0KP

Explanation:

L     # Create the list [1, ..., input]
 0K   # Remove all occurencies of zero
   P  # Calculate the product

I have no idea why this works for 0, but it does.

05AB1E, 4 bytes (non-competing)

Since the language postdates the challenge, this is non-competing

Code:

L0KP

Explanation:

L     # Create the list [1, ..., input]
 0K   # Remove all occurencies of zero
   P  # Calculate the product

I have no idea why this works for 0, but it does.

05AB1E, 4 bytes

Code:

L0KP

Explanation:

L     # Create the list [1, ..., input]
 0K   # Remove all occurencies of zero
   P  # Calculate the product

I have no idea why this works for 0, but it does.

Commonmark migration
Source Link

#05AB1E, 4 bytes (non-competing)

05AB1E, 4 bytes (non-competing)

Since the language postdates the challenge, this is non-competing

Code:

L0KP

Explanation:

L     # Create the list [1, ..., input]
 0K   # Remove all occurencies of zero
   P  # Calculate the product

I have no idea why this works for 0, but it does.

#05AB1E, 4 bytes (non-competing)

Since the language postdates the challenge, this is non-competing

Code:

L0KP

Explanation:

L     # Create the list [1, ..., input]
 0K   # Remove all occurencies of zero
   P  # Calculate the product

I have no idea why this works for 0, but it does.

05AB1E, 4 bytes (non-competing)

Since the language postdates the challenge, this is non-competing

Code:

L0KP

Explanation:

L     # Create the list [1, ..., input]
 0K   # Remove all occurencies of zero
   P  # Calculate the product

I have no idea why this works for 0, but it does.

Source Link
Adnan
  • 44.5k
  • 6
  • 82
  • 246

#05AB1E, 4 bytes (non-competing)

Since the language postdates the challenge, this is non-competing

Code:

L0KP

Explanation:

L     # Create the list [1, ..., input]
 0K   # Remove all occurencies of zero
   P  # Calculate the product

I have no idea why this works for 0, but it does.