输出所有的“水仙花数”,“水仙花数”是指一个三位数,其各位数字的立方和等于该数本身
时间: 2023-12-03 19:14:06 浏览: 190
输出所有的水仙花数,所谓水仙花数是指一个3位数,其各个位上数字立方和等于其本身。
Sure! "水仙花数" refers to a three-digit number where the sum of the cubes of its digits equals the number itself. The "水仙花数" are: 153, 370, 371, and 407.
阅读全文