您的位置:首页 > 产品设计 > UI/UE

HDU 3201 Build a Fence

2015-11-11 09:03 519 查看
水题

#include<cstdio>
#include<cstring>
#include<cmath>
#include<algorithm>
using namespace std;

const double PI=3.1415926;

int main()
{
double L;
while(~scanf("%lf",&L)){
if(!L) break;
printf("%.2lf\n",(L*L)/(2*PI));
}
return 0;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: