计算边缘之和本比做法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,c,d,e,f,n,m; c=0;d=0;e=0;f=0; int a[101…… 题解列表 2024年12月02日 3 点赞 0 评论 284 浏览 评分:10.0
1062: 二级C语言-公约公倍 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int gys(int a,int b){ if (a == b) { return a; } if (a<b) { return …… 题解列表 2024年12月02日 1 点赞 0 评论 527 浏览 评分:10.0
[编程入门]报数问题 纯c解法 无技巧 摘要:解题思路:只有纯0才有资格呢【狗头】注意事项:)报数足够多(但是时间可能超限)参考代码:#include<stdio.h>int a[101];int main(){ int m,h=0,q=0…… 题解列表 2024年12月03日 0 点赞 0 评论 375 浏览 评分:10.0
简易,易懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ float a; scanf ("%f",&a); if (a>=0) { …… 题解列表 2024年12月03日 0 点赞 0 评论 627 浏览 评分:10.0
[编程入门]自由下落的距离计算,简单易懂(Java) 摘要:解题思路:小球该次弹起的高度+弹起前下落的高度=该次弹起高度的3倍。注意事项:无参考代码:import java.util.Scanner;public class Main { public …… 题解列表 2024年12月03日 1 点赞 0 评论 384 浏览 评分:10.0
题目意思要理解清楚 摘要:解题思路:注意事项:只动最小值,最大值,第一位,最后一位这四个位置的数字,其他的不动哦。(先找最小值,再找最大值)参考代码:#include<stdio.h>void f1(int a[]){ …… 题解列表 2024年12月04日 3 点赞 0 评论 796 浏览 评分:10.0
最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int m, n; scanf("%d %d", &m, &n); …… 题解列表 2024年12月04日 10 点赞 0 评论 1870 浏览 评分:10.0
使用方法嵌套来解决此问题 摘要:解题思路:注意事项:参考代码:public static void main(String []args){ int num1,num2,num3; int max; Scanner…… 题解列表 2024年12月04日 1 点赞 0 评论 1241 浏览 评分:10.0
[编程入门]自由下落的距离计算--巨无敌容易看懂(C语言) 摘要:解题思路:将下落过程加上后,将每落地一次变成落地前的一半并加到路程中,并注意最后一次反弹时不加入到路程中注意事项:要注意变量的定义参考代码:#include<stdio.h>int main(){ …… 题解列表 2024年12月04日 7 点赞 0 评论 1057 浏览 评分:10.0
年龄与疾病 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,a[n],b=0,c=0,d=0,e=0; float f,g,h,j; sc…… 题解列表 2024年12月05日 1 点赞 1 评论 526 浏览 评分:10.0