Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

requested by arjun. fixing typo
Source Link
Timtech
  • 12.7k
  • 2
  • 46
  • 63

Neim, 5 bytes

sDrTE

Explanation:

Example input: 1729
s Implicitly convert to digit list and ssumsum the digits [19]
 D Duplicate [19, 19]
 r reverse [19, 91]
 T mulTiply [1729]
 E check for Equality with input [1]
Implicit output: 1

Try it!

Neim, 5 bytes

sDrTE

Explanation:

Example input: 1729
s Implicitly convert to digit list and ssum the digits [19]
 D Duplicate [19, 19]
 r reverse [19, 91]
 T mulTiply [1729]
 E check for Equality with input [1]
Implicit output: 1

Try it!

Neim, 5 bytes

sDrTE

Explanation:

Example input: 1729
s Implicitly convert to digit list and sum the digits [19]
 D Duplicate [19, 19]
 r reverse [19, 91]
 T mulTiply [1729]
 E check for Equality with input [1]
Implicit output: 1

Try it!

Added link to code page
Source Link
Stephen
  • 14.2k
  • 3
  • 57
  • 118

Neim, 5 bytesbytes

sDrTE

Explanation:

Example input: 1729
s Implicitly convert to digit list and ssum the digits [19]
 D Duplicate [19, 19]
 r reverse [19, 91]
 T mulTiply [1729]
 E check for Equality with input [1]
Implicit output: 1

Try it!

Neim, 5 bytes

sDrTE

Explanation:

Example input: 1729
s Implicitly convert to digit list and ssum the digits [19]
 D Duplicate [19, 19]
 r reverse [19, 91]
 T mulTiply [1729]
 E check for Equality with input [1]
Implicit output: 1

Try it!

Neim, 5 bytes

sDrTE

Explanation:

Example input: 1729
s Implicitly convert to digit list and ssum the digits [19]
 D Duplicate [19, 19]
 r reverse [19, 91]
 T mulTiply [1729]
 E check for Equality with input [1]
Implicit output: 1

Try it!

added 1 character in body
Source Link
Arjun
  • 5.2k
  • 2
  • 27
  • 57

Neim, 5 bytes

sDrTE

Explanation:

Example input: 1729
s Implicitly convert to digit list and sumssum the digits [19]
 D Duplicate [19, 19]
 r reverse [19, 91]
 T mulTiply [1729]
 E check for Equality with input [1]
Implicit output: 1

Try it!

Neim, 5 bytes

sDrTE

Explanation:

Example input: 1729
s Implicitly convert to digit list and sum the digits [19]
 D Duplicate [19, 19]
 r reverse [19, 91]
 T mulTiply [1729]
 E check for Equality with input [1]
Implicit output: 1

Try it!

Neim, 5 bytes

sDrTE

Explanation:

Example input: 1729
s Implicitly convert to digit list and ssum the digits [19]
 D Duplicate [19, 19]
 r reverse [19, 91]
 T mulTiply [1729]
 E check for Equality with input [1]
Implicit output: 1

Try it!

added 11 characters in body
Source Link
Okx
  • 16.5k
  • 5
  • 45
  • 114
Loading
edited body
Source Link
totallyhuman
  • 17.4k
  • 3
  • 34
  • 89
Loading
added 120 characters in body
Source Link
Okx
  • 16.5k
  • 5
  • 45
  • 114
Loading
Source Link
Okx
  • 16.5k
  • 5
  • 45
  • 114
Loading

AltStyle によって変換されたページ (->オリジナル) /