HDU 2529 Shot (物理数学题)

题目

解题过程:

HDU 2529 Shot (物理数学题)

//物理数学题
#include<stdio.h>
#include<string.h>
#include<algorithm>
using namespace std; int main()
{
double h,l,v,ans;
while(scanf("%lf%lf%lf",&h,&l,&v)!=EOF)
{
if(h==&&l==&&v==)break;
ans = h + v * v / 19.6 - 4.9 * l * l / v / v;
printf("%.2lf\n",ans);
}
return ;
}
上一篇:如何用几何画板画V型尖波函数图像


下一篇:浅谈线段树 Segment Tree