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

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

筛选

1016c语言代码

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

1016-水仙花数判断 语言:C++

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

1016题:水仙花数判断

摘要:# 自己写的代码 ```c #include int main() { int i; for(i=0;i99){ if((((i/100)*(i/100)*(i/1……

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

摘要:解题思路:将三位数每一位分离出来是重点注意事项:参考代码:for i in range(100,1000):    a=i%10    b=(i%100)/10    c=i/100    if i=……