"水仙花数"是指一个三位数,其各位数字立方和等于其本身。如:153是一个水仙花数,因为153=1^3+5^3+3^3。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,i; for(i=100; i<=999; i++) //for()循环中i从…… 题解列表 2018年08月27日 0 点赞 0 评论 1302 浏览 评分:0.0
教学楼的楼梯 (Java代码) 摘要:Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int arr1[]=new int[n]; for(…… 题解列表 2018年08月27日 0 点赞 0 评论 657 浏览 评分:0.0
奇偶的秘密 (Java代码) 摘要:Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int arr[]=new int[n]; for(i…… 题解列表 2018年08月27日 0 点赞 0 评论 659 浏览 评分:0.0
简单的数学题 (Java代码) 摘要:Scanner sc=new Scanner(System.in); while(sc.hasNext()) { double x=sc.nextDouble(); double…… 题解列表 2018年08月27日 0 点赞 0 评论 800 浏览 评分:0.0
找出N之内的所有完数,并按格式输出其因子C语言程序设计教程(第三版)课后习题6.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(){ long double N, sum = 0; int factor[100…… 题解列表 2018年08月27日 0 点赞 0 评论 1454 浏览 评分:0.0
大神的探险 之 破解密码 (Java代码)(范围是个坑) 摘要:Scanner sc=new Scanner(System.in); while(sc.hasNext()) { long a=sc.nextLong(); long b=sc.…… 题解列表 2018年08月27日 0 点赞 0 评论 900 浏览 评分:0.0
A+B for Input-Output Practice (I) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(~scanf("%d %d",&a,&b)) { …… 题解列表 2018年08月27日 3 点赞 0 评论 643 浏览 评分:0.0
汽水瓶 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a[10],i=0; int k,m; while(~scanf("%d",…… 题解列表 2018年08月27日 0 点赞 0 评论 737 浏览 评分:0.0
优质题解 大神的探险 之 满载而归 (C语言代码) 摘要:解题思路: 蜗牛爬井。。 由于最后肯定需要在白天爬上去,所以不妨先将井高减去白天一天能爬的高度,然后计数一天, 接下来再继续分析, &nbs 题解列表 2018年08月27日 3 点赞 0 评论 1151 浏览 评分:0.0
大神的探险 之 满载而归 (Java代码) 摘要: Scanner sc=new Scanner(System.in); while(sc.hasNext()) { double a=sc.nextDouble(); doubl…… 题解列表 2018年08月27日 0 点赞 0 评论 1413 浏览 评分:0.0