#include<stdio.h> int main() { int _case; double p; scanf("%d",&_case); while(_case--) { scanf("%lf",&p); printf("%.2lf\n",1/p/(1-p)); } return 0; }
http://www.bnuoj.com/bnuoj/problem_show.php?pid=29064
posted on 2013-04-30 21:23 雨钝风轻 阅读(181) 评论(2) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 雨钝风轻 Powered by .NET 9.0 on Kubernetes