英语翻译一个N位的十进制正整数,如果它的每个位上的数字的N次方的和等于这个数本身,则称其为花朵数.\x05例如:\x05

英语翻译
一个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分钟内运行完毕.
我想要的是真正的翻译,而不是用翻译软件直接翻出的.翻译的好,还会追加分.
qq9617938 1年前 已收到4个回答 举报

很少打牌 幼苗

共回答了13个问题采纳率:100% 举报

一个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.
这是人工翻译的,不是机器哦

1年前

6

hss_sue 幼苗

共回答了13个问题 举报

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...

1年前

2

或许我是幸福的 幼苗

共回答了14个问题采纳率:92.9% 举报

一个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。

1年前

1

点小来 幼苗

共回答了6个问题 举报

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...

1年前

0
可能相似的问题
Copyright © 2024 YULUCN.COM - 雨露学习互助 - 19 q. 0.035 s. - webmaster@yulucn.com