明明的随机数-三种解法 摘要:参考代码:public void reorder1() { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); …… 题解列表 2021年10月03日 0 点赞 0 评论 376 浏览 评分:0.0
亲密数题解 摘要:解题思路:注意事项:参考代码:for i in range(1,3000): s=k=0 for j in range(1,i): if i%j==0: …… 题解列表 2021年10月03日 0 点赞 4 评论 770 浏览 评分:8.8
数字母-C语言题解 摘要:解题思路:定义字符数组 输入字符串 循环判断字母注意事项:定义flag记录字母数参考代码:#include<stdio.h>#include<string.h>#include<ctype.h…… 题解列表 2021年10月04日 0 点赞 0 评论 1117 浏览 评分:9.9
斐波那契数列-C语言题解 摘要:解题思路:定义x=1,y=0,z 先输入数列元素个数 输入一个数字1 从1开始循环到N,一共(N-1)次 z=x+y y=z 如果循环变量大于1则x被y赋值 注意事项:注意…… 题解列表 2021年10月04日 0 点赞 0 评论 705 浏览 评分:9.9
水仙花数题解 摘要:解题思路:注意事项:参考代码:for i in range(100,1000): s=0 astr=str(i) for j in astr: x=int(j) …… 题解列表 2021年10月04日 0 点赞 0 评论 387 浏览 评分:9.0
求和训练题解 摘要:解题思路:注意事项:参考代码:a,b,c=map(int,input().split())alist=[int(x) for x in range(1,a+1)]blist=[int(x)*int(x…… 题解列表 2021年10月04日 0 点赞 0 评论 791 浏览 评分:0.0
java题解---难道就我一个人写java题解吗 摘要:解题思路:注意事项: 只要注意小于5就可以了。参考代码:import java.util.Arrays;import java.util.Comparator;import java.util.Sca…… 题解列表 2021年10月04日 0 点赞 1 评论 363 浏览 评分:9.9
Train Problem I-题解(C 语言代码) 摘要:代码还未优化、诸多不足,求指点 ```C void train() { int n; char a[10]; /…… 题解列表 2021年10月04日 0 点赞 1 评论 585 浏览 评分:9.9
成绩评定(C语言解) 摘要:解题思路:if-else语句的简单运用注意事项:无参考代码:#includeint main(){ int grade,result; scanf("%d",&grade); …… 题解列表 2021年10月04日 0 点赞 8 评论 2775 浏览 评分:9.0
最容易理解的方法 摘要:解题思路:仔细分析我的思路,你会发现一点也不难注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){int a;int b;int c;int d…… 题解列表 2021年10月04日 0 点赞 0 评论 598 浏览 评分:0.0