全部评论
贴个代码看看
我怎么都没有通知啊 直接挂了
找到更好的解法了么?
代码应该是酱紫吧。。。
#include <cstdio>
using namespace std;
int main()
{
int n, m, cas;
scanf("%d", &cas);
while(cas--){
scanf("%d%d", &n, &m);
printf("%.08lf\n", 1.0 * (m/2)/(n*n/4));
}
return 0;
}
https://www.zhihu.com/question/55445739
相关推荐

点赞 评论 收藏
分享
02-23 13:30
燕山大学 Java 点赞 评论 收藏
分享