[编程入门]三个数找最大值 摘要:解题思路:if-else注意事项:参考代码:a,b,c = map(int,input().split())if a>b: if a>c: print(a) else: …… 题解列表 2023年11月07日 1 点赞 0 评论 768 浏览 评分:9.9
动态规划-大盗阿福 java.cui 摘要:解题思路: 理解题目意思后,写出推导式dp[j]=max(arr[j]+dp[j-2],dp[j-1])即可得出答案,这个过程需要多刷题才能有更深一步的体会。动态规划我现在做了几题,还处于入门阶段,…… 题解列表 2023年11月07日 0 点赞 0 评论 418 浏览 评分:9.9
求和训练(一般方法) 摘要:解题思路:拆分成三个累加求和,再求总和。注意事项:scanf函数的&不要忘记加,printf函数要控制输入保留两位小数。参考代码://[编程入门]求和训练#include <stdio.h>int m…… 题解列表 2023年11月07日 0 点赞 0 评论 321 浏览 评分:9.9
优质题解只有stdio.h 摘要:解题思路:注意事项:参考代码:#includeint main() { char equation[10]; int correct = 0; while (scanf("%s", …… 题解列表 2023年11月07日 0 点赞 0 评论 371 浏览 评分:9.9
[编程入门]求和训练 (C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float a,b,c,an,bn,cn; an=0.00; bn=0.00; cn=0…… 题解列表 2023年11月07日 0 点赞 0 评论 290 浏览 评分:0.0
[编程入门]水仙花数判断 (C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int x,a,b,c; x=100; while(x<=99…… 题解列表 2023年11月07日 0 点赞 0 评论 274 浏览 评分:9.9
[编程入门]阶乘求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long long int n,Sn,a,b; a=1; b=1; Sn=0; s…… 题解列表 2023年11月07日 0 点赞 0 评论 320 浏览 评分:9.9
自定义函数写法 摘要:解题思路:自定义函数解法。注意事项:1不是完数。参考代码:#include <stdio.h>int is(int n);int main(void){ int i; for (i = 1…… 题解列表 2023年11月07日 0 点赞 0 评论 287 浏览 评分:0.0
c代码记录之自定义函数处理最大公约及最小公倍数--C 摘要:解题思路:注意事项:参考代码:int gys(int(x),int(y)) { int i; for(i=x;;i--) if(x%i==0&&y%i==0) …… 题解列表 2023年11月07日 0 点赞 0 评论 275 浏览 评分:0.0
c代码记录之自定义函数处理素数--C 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int m; scanf("%d",&m); sushu(m); …… 题解列表 2023年11月07日 0 点赞 0 评论 218 浏览 评分:0.0