求和训练(一般方法) 摘要:解题思路:拆分成三个累加求和,再求总和。注意事项:scanf函数的&不要忘记加,printf函数要控制输入保留两位小数。参考代码://[编程入门]求和训练#include <stdio.h>int m…… 题解列表 2023年11月07日 0 点赞 0 评论 549 浏览 评分:9.9
优质题解只有stdio.h 摘要:解题思路:注意事项:参考代码:#includeint main() { char equation[10]; int correct = 0; while (scanf("%s", …… 题解列表 2023年11月07日 0 点赞 0 评论 516 浏览 评分: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 评论 504 浏览 评分: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 评论 474 浏览 评分: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 评论 496 浏览 评分:9.9
自定义函数写法 摘要:解题思路:自定义函数解法。注意事项:1不是完数。参考代码:#include <stdio.h>int is(int n);int main(void){ int i; for (i = 1…… 题解列表 2023年11月07日 0 点赞 0 评论 467 浏览 评分: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 评论 497 浏览 评分:0.0
c代码记录之自定义函数处理素数--C 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int m; scanf("%d",&m); sushu(m); …… 题解列表 2023年11月07日 0 点赞 0 评论 416 浏览 评分:0.0
3168: 蓝桥杯2023年第十四届省赛真题-太阳(Java满分题解) ###解题思路:线段按高度降序重排,然后投射到x轴上就成了区间覆盖问题。###x轴上的端点将y=0代入y=kx+b可得x=-b/k,即(xY-Xy)/(Y-y),具体思路可以看参考代码```javaimportjava.io.*;importjava.util.*;publicclassMain{st 题解列表 2023年11月07日 1 点赞 3 评论 2109 浏览 评分:8.1
c代码记录之电报加密 摘要:解题思路:怀疑编译器有问题,题目要求输入一行字符,按这个要求写的代码不能过,奇怪注意事项:参考代码:通过的代码,但这个代码第二行的内容也是会输出的,与题目要求不符#includeint main() …… 题解列表 2023年11月07日 0 点赞 0 评论 537 浏览 评分:0.0