#include<bits/stdc++.h>
using namespace std;
const double PI=3.1415926;
double r,d,c,s;
int main()
{
cin>>r;
d=r*2;
c=d*PI;
s=PI*r*r;
cout<<fixed<<setprecision(4)<<d<<" ";
cout<<fixed<<setprecision(4)<<c<<" ";
cout<<fixed<<setprecision(4)<<s;
return 0;
}
信息学奥赛一本通2067
最新推荐文章于 2024-08-27 13:14:17 发布