题解 1016: [编程入门]水仙花数判断

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

C++输出所有水仙花数

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){   int i,j;   int a,b,c;      for(i……

水仙花数判断(c语言)清晰版

摘要:解题思路:注意事项:参考代码:/*打印出所有"水仙花数",所谓"水仙花数"是指一个三位数,其各位数字立方和等于该本身。 例如:153是一个水仙花数,因为153=1^3+5^3+3^3。 */#incl……

水仙花数判断

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int g,s,b;    for(int i=100;i<10……

三个嵌套for循环+pow函数

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>    //pow函数的头文件int main(){ int a,b,c,cn,sn; cn=sn=0;……

[编程入门]水仙花数判断

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){    int i,a,b,c;    f……

水仙花数判断(c语言)

摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(){ int a=0,b=0,c=0; for(int i=100;i<1000;i++){ ……