文件名称:shuixian
介绍说明--下载内容均来自于网络,请自行研究使用
题目:打印出所有的“水仙花数”,所谓“水仙花数”是指一个三位数,其各位数字立方和等于该 数本身。例如:153是一个“水仙花数”,因为153=1的三次方+5的三次方+3的三次方。
分析:利用for循环控制100-999个数,每个数分解出个位,十位,百位。*/-Topic: print out all of the Narcissus few , the so-called Narcissus few refers to a three-digit, its Members and equal to the number of cubic number itself. For example: 153 is a few daffodils, because 153 = 1 cubic 3 to 5 of the three the three parties. Analysis: use for cycle control the number of 100-999, each decomposition of a single-digit number, 10, 100.* /
分析:利用for循环控制100-999个数,每个数分解出个位,十位,百位。*/-Topic: print out all of the Narcissus few , the so-called Narcissus few refers to a three-digit, its Members and equal to the number of cubic number itself. For example: 153 is a few daffodils, because 153 = 1 cubic 3 to 5 of the three the three parties. Analysis: use for cycle control the number of 100-999, each decomposition of a single-digit number, 10, 100.* /
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1234组成3位无重复数.cpp
水仙花数.cpp
水仙花数.cpp