题解 2812: 球弹跳高度的计算 (反弹与落地 示意图)
摘要:
摘要:解题思路:按照小球运动状态;注意事项:虽然路程需要*2;但是参考代码通过一次循环嵌套实现;参考代码:#include<math.h>int main(){ int i = 1; double m=0,……
球弹跳高度的计算C语言
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int h; scanf("%d",&h); int i; double h1=h; double s=0; f……
老是对不准需要的类型,还是得多练练
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int main()
{
int h,i;
double sum = 0.0,r = 0.0,d=0.0;
scanf……
编写题解 2812: 球弹跳高度的计算
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int h;scanf("%d",&h);int i;double h1=h;double s=0;for(i=1……
2812 (C语言)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a,b,i,c=0; scanf("%lf", &a); b=a; for……
编写题解 2812: 球弹跳高度的计算
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int h,i; scanf("%d",&h); double h1=h,s=0.0; s=2.0*h1; fo……