编写题解 2812: 球弹跳高度的计算
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int h,i; scanf("%d",&h); double h1=h,s=0.0; s=2.0*h1; fo……
题解 2812: 球弹跳高度的计算
摘要: #include
using namespace std;
int main(){
double a,b;
cin>>a;
b=a;
……
2812 (C语言)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a,b,i,c=0; scanf("%lf", &a); b=a; for……
2812: 球弹跳高度的计算
摘要:参考代码:h = int(input())
sum = h
for i in range(10):
h /= 2
if i != 9:
sum += h 
2812: 球弹跳高度的计算
摘要:解题思路:注意事项:参考代码:#include<iostream>
using namespace std;
int main()
{
double meter,sum=0,s=0;
……