2812: 球弹跳高度的计算 摘要:解题思路:简单的数学规律问题注意事项:从第二次运动开始到结束,球的运动路程遵循规律,所以i从2开始计算。最后汇总时加上第一次的高度(初始高度)参考代码:#include <stdio.h>…… 题解列表 2025年11月21日 1 点赞 0 评论 88 浏览 评分:10.0
简单明了,通俗易懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int h,i; double sum=0.0,H,a; scanf("%d",&h); …… 题解列表 2023年02月10日 0 点赞 1 评论 968 浏览 评分:9.9
采购是我,我是才够 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double h; scanf("%lf",&h); doub…… 题解列表 2023年03月02日 0 点赞 0 评论 542 浏览 评分:9.9
题解 2812: 球弹跳高度的计算 (反弹与落地 示意图) 摘要: 摘要:解题思路:按照小球运动状态;注意事项:虽然路程需要*2;但是参考代码通过一次循环嵌套实现;参考代码:#include<math.h>int main(){ int i = 1; double m=0,…… 题解列表 2024年10月28日 0 点赞 0 评论 435 浏览 评分:9.9
球弹跳高度的计算C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int h; scanf("%d",&h); int i; double h1=h; double s=0; f…… 题解列表 2023年02月09日 0 点赞 1 评论 674 浏览 评分:5.3
老是对不准需要的类型,还是得多练练 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int h,i; double sum = 0.0,r = 0.0,d=0.0; scanf…… 题解列表 2023年08月23日 0 点赞 1 评论 347 浏览 评分:0.0
编写题解 2812: 球弹跳高度的计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int h;scanf("%d",&h);int i;double h1=h;double s=0;for(i=1…… 题解列表 2023年12月24日 0 点赞 0 评论 258 浏览 评分:0.0
2812 (C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a,b,i,c=0; scanf("%lf", &a); b=a; for…… 题解列表 2024年03月18日 0 点赞 0 评论 257 浏览 评分:0.0
编写题解 2812: 球弹跳高度的计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int h,i; scanf("%d",&h); double h1=h,s=0.0; s=2.0*h1; fo…… 题解列表 2024年07月18日 0 点赞 0 评论 292 浏览 评分:0.0