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 Revisions

3 of 7
edited body
totallyhuman
  • 17.4k
  • 3
  • 34
  • 89

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 [1]
Implicit output: 1

Try it!

Okx
  • 16.5k
  • 5
  • 45
  • 114

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