0
点赞
收藏
分享

微信扫一扫

HDOJ  2548   两军交锋

开源分享 2022-08-22 阅读 19


题目:​​http://acm.hdu.edu.cn/showproblem.php?pid=2548​​

#include <stdio.h>
int main()
{
int T;
double u,v,w,l;
scanf("%d",&T);
while(T--)
scanf("%lf%lf%lf%lf",&u,&v,&w,&l),printf("%.3lf\n",l*w/(u+v));
return 0;
}

举报

相关推荐

0 条评论