英语翻译一个N位的十进制正整数,如果它的每个位上的数字的N次方的和等于这个数本身,则称其为花朵数.\x05例如:\x05当N=3时,153就满足条件,因为 1^3 + 5^3 + 3^3 = 153,这样的数字也被称为水仙花

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/11 16:57:29

英语翻译一个N位的十进制正整数,如果它的每个位上的数字的N次方的和等于这个数本身,则称其为花朵数.\x05例如:\x05当N=3时,153就满足条件,因为 1^3 + 5^3 + 3^3 = 153,这样的数字也被称为水仙花
英语翻译
一个N位的十进制正整数,如果它的每个位上的数字的N次方的和等于这个数本身,则称其为花朵数.
\x05例如:
\x05当N=3时,153就满足条件,因为 1^3 + 5^3 + 3^3 = 153,这样的数字也被称为水仙花数(其中,“^”表示乘方,5^3表示5的3次方,也就是立方).
\x05当N=4时,1634满足条件,因为 1^4 + 6^4 + 3^4 + 4^4 = 1634.
\x05当N=5时,92727满足条件.
\x05实际上,对N的每个取值,可能有多个数字满足条件.
\x05
\x05程序的任务是:求N=21时,所有满足条件的花朵数.注意:这个整数有21位,它的各个位数字的21次方之和正好等于这个数本身.
\x05如果满足条件的数字不只有一个,请从小到大输出所有符合条件的数字,每个数字占一行.因为这个数字很大,请注意解法时间上的可行性.要求程序在3分钟内运行完毕.
我想要的是真正的翻译,而不是用翻译软件直接翻出的.翻译的好,还会追加分.

英语翻译一个N位的十进制正整数,如果它的每个位上的数字的N次方的和等于这个数本身,则称其为花朵数.\x05例如:\x05当N=3时,153就满足条件,因为 1^3 + 5^3 + 3^3 = 153,这样的数字也被称为水仙花
一个N位的十进制正整数,如果它的每个位上的数字的N次方的和等于这个数本身,则称其为花朵数.
A positive base 10 integer with N digits,it is called a flower number if the sum of the number on each digit to the Nth power is equal to the number it self.
\x05例如:
\x05当N=3时,153就满足条件,因为 1^3 + 5^3 + 3^3 = 153,这样的数字也被称为水仙花数(其中,“^”表示乘方,5^3表示5的3次方,也就是立方).
\x05当N=4时,1634满足条件,因为 1^4 + 6^4 + 3^4 + 4^4 = 1634.
\x05当N=5时,92727满足条件.
\x05实际上,对N的每个取值,可能有多个数字满足条件.
e.g.
When N=3,153 satisfies all of the criteria,because 1^3 + 5^3 + 3^3 = 153,this sort of number is also called a daffodil number (here,“^”means "to the power of",5^3 means 5 to the power of 3,namely 5 cubed).
When N=4,1634 satisfies all the criteria,because 1^4 + 6^4 + 3^4 + 4^4 = 1634
When N=5,the flower number is 92727
In fact,for every value of N,there might be multiple possibilities for a flower number.
\x05程序的任务是:求N=21时,所有满足条件的花朵数.注意:这个整数有21位,它的各个位数字的21次方之和正好等于这个数本身.
The aim of the program is:find all of the flower numbers when N=21.Note,this integer has 21 digits,the 21th power of each of its digit must be equal to the number itself.
\x05如果满足条件的数字不只有一个,请从小到大输出所有符合条件的数字,每个数字占一行.因为这个数字很大,请注意解法时间上的可行性.要求程序在3分钟内运行完毕.
If there are more than one answer,please list all of them from the smallest to largest,with one number per line.
Due to the size of the number,please pay attention to the time taken to find it.The program must be able to finish calculation within 3 minutes.
这是人工翻译的,不是机器哦

N a decimal positive integer, if it's every bit of N the Numbers on the listing and equal to the number itself, says the number for flowers.
For example:
When N = 3, 153 satisfy conditions, be...

全部展开

N a decimal positive integer, if it's every bit of N the Numbers on the listing and equal to the number itself, says the number for flowers.
For example:
When N = 3, 153 satisfy conditions, because 1 ^ 3 + 5 ^ 3 + 3 ^ 3 = 153, such figures are also called daffodil number (among them, "^ ^ 5," says chengfang's cubical May 3 means, namely cubic meters).
When N = 4, 1634 satisfy conditions, because 1 ^ 4 + 6 ^ 4 + 3 ^ ^ 4 + 4 4 = 1634.
When N = 5, 92727 satisfy conditions.
In fact, each of the values of N may have multiple digital satisfy conditions.
Program's mission is to: please N = 21, all the flowers several satisfy certain conditions. Note: this integer have 21, its each digit is exactly equal to the sum of the 21st 4k number itself.

收起

A N a decimal positive integer, if it's every bit of N the Numbers on the listing and equal to the number itself, says the number for flowers.
For example:
When N = 3, 153 satisfy conditions...

全部展开

A N a decimal positive integer, if it's every bit of N the Numbers on the listing and equal to the number itself, says the number for flowers.
For example:
When N = 3, 153 satisfy conditions, because 1 ^ 3 + 5 ^ 3 + 3 ^ 3 = 153, such figures are also called daffodil number (among them, "^ ^ 5," says chengfang's cubical May 3 means, namely cubic meters).
When N = 4, 1634 satisfy conditions, because 1 ^ 4 + 6 ^ 4 + 3 ^ ^ 4 + 4 4 = 1634.
When N = 5, 92727 satisfy conditions.
In fact, each of the values of N may have multiple digital satisfy conditions.

Program's mission is to: please N = 21, all the flowers several satisfy certain conditions. Note: this integer have 21, its each digit is exactly equal to the sum of the 21st 4k number itself.
If meet the conditions of the digital not only a, please all eligible since the output of digital, each number line. Because this number is very big, please note that the feasibility of the method on time. Request program in 3 minutes running over.

收起

一个N位的十进制正整数,如果它的每个位上的数字的N次方的和等于这个数本身,则称其为花朵数。
例如:
当N=3时,153就满足条件,因为 1^3 + 5^3 + 3^3 = 153,这样的数字也被称为水仙花数(其中,“^”表示乘方,5^3表示5的3次方,也就是立方)。
当N=4时,1634满足条件,因为 1^4 + 6^4 + 3^4 + 4^4 = 1634。

全部展开

一个N位的十进制正整数,如果它的每个位上的数字的N次方的和等于这个数本身,则称其为花朵数。
例如:
当N=3时,153就满足条件,因为 1^3 + 5^3 + 3^3 = 153,这样的数字也被称为水仙花数(其中,“^”表示乘方,5^3表示5的3次方,也就是立方)。
当N=4时,1634满足条件,因为 1^4 + 6^4 + 3^4 + 4^4 = 1634。
当N=5时,92727满足条件。
实际上,对N的每个取值,可能有多个数字满足条件。

程序的任务是:求N=21时,所有满足条件的花朵数。注意:这个整数有21位,它的各个位数字的21次方之和正好等于这个数本身。
如果满足条件的数字不只有一个,请从小到大输出所有符合条件的数字,每个数字占一行。因为这个数字很大,请注意解法时间上的可行性。要求程序在3分钟内运行完毕。

收起