题解 1016: [编程入门]水仙花数判断 摘要: import java.util.*; public class Main { public static void main(String[] args) { // TODO 自…… 题解列表 2021年07月15日 0 点赞 0 评论 898 浏览 评分:0.0
1016: [编程入门]水仙花数判断(C语言) 摘要:# 水仙花数判断 ## 代码 ```c #include #include #include #include int main(){ int i; for(i=100;i…… 题解列表 2021年07月12日 0 点赞 0 评论 893 浏览 评分:0.0
水仙花数判断 摘要:解题思路:for循环一遍解决注意事项:参考代码:#include<stdio.h>int main(void){ for(int i=100;i<1000;i++) { if…… 题解列表 2021年06月09日 0 点赞 0 评论 447 浏览 评分:0.0
水仙花数判断(C++简单求法) 摘要:解题思路:理清思路!注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ for(int i = 100; i <=…… 题解列表 2021年05月17日 0 点赞 0 评论 991 浏览 评分:9.0
极简单方法 摘要:解题思路:通过遍历,并将数个、十、百表示出来。参考代码:#include<iostream> using namespace std;int main(){ for(int i=100;i<10…… 题解列表 2021年05月17日 0 点赞 0 评论 781 浏览 评分:0.0
水仙花数判断 摘要:解题思路:对三位数的取整及取余即可。注意事项:其中十位数要先取整再取余。参考代码:#include<stdio.h>#include<math.h>int main(){ int n,s; for(n…… 题解列表 2021年04月24日 0 点赞 1 评论 477 浏览 评分:7.3
双层循环找出水仙花数 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int m,n,sum,i; for(m=100;m<=99…… 题解列表 2021年04月15日 0 点赞 0 评论 436 浏览 评分:0.0
水仙花数的判断 摘要:采用for循环语句。 #include int main() { int a,b,c,d,ji,i; for(i=100;i…… 题解列表 2021年03月30日 0 点赞 0 评论 804 浏览 评分:0.0
[编程入门]水仙花数判断 摘要:解题思路:利用循环,因为是三位数,所以从100一直到999,然后加一个条件的判断就行注意事项:1.注意题目要求每一个数占一行,记得输出时候加换行参考代码:#include<stdio.h>#inclu…… 题解列表 2021年03月12日 0 点赞 0 评论 505 浏览 评分:0.0
水仙花数判断 摘要:解题思路:输出所有水仙花数注意事项:无参考代码:#include <bits/stdc++.h>using namespace std;int a[1001];int main (){ cout<<1…… 题解列表 2021年03月11日 0 点赞 6 评论 653 浏览 评分:6.0