编写题解 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 评论 131 浏览 评分:0.0
2812: 球弹跳高度的计算 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { double meter,sum=0,s=0; …… 题解列表 2024年01月02日 0 点赞 0 评论 112 浏览 评分:0.0
题解 2812: 球弹跳高度的计算 摘要: #include using namespace std; int main(){ double a,b; cin>>a; b=a; …… 题解列表 2023年11月15日 0 点赞 0 评论 172 浏览 评分:0.0
2812: 球弹跳高度的计算 摘要:参考代码:h = int(input()) sum = h for i in range(10): h /= 2 if i != 9: sum += h  题解列表 2024年03月17日 0 点赞 0 评论 561 浏览 评分: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 评论 129 浏览 评分:0.0
老是对不准需要的类型,还是得多练练 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int h,i; double sum = 0.0,r = 0.0,d=0.0; scanf…… 题解列表 2023年08月23日 0 点赞 1 评论 219 浏览 评分: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 评论 164 浏览 评分:0.0
球弹跳高度的计算 摘要:解题思路:注意事项:参考代码:h = float(input())s = hfor i in range(9): h = h/2 s += h*2print(f"{s:g}")print(…… 题解列表 2024年07月30日 0 点赞 0 评论 354 浏览 评分:0.0
没有太多解释的代码 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main ( ){ double h ,h1 ,h2 ,h3 ; doub…… 题解列表 2024年11月08日 0 点赞 0 评论 139 浏览 评分:0.0
利用数学思维和for循环来解答,清晰明了 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,h; double S=0,s,H; scanf("%d",&h); H=h…… 题解列表 2024年11月26日 0 点赞 0 评论 175 浏览 评分:0.0