how to generate Narcissistic numbers faster?

后端 未结 0 1148
走了就别回头了
走了就别回头了 2021-02-12 05:45

The “Narcissistic numbers”, are n digit numbers where the sum of all the nth power of their digits is equal to the number.

So, 153 is a narcissistic number

相关标签:
回答
  • 消灭零回复
提交回复
热议问题