9 条题解

  • 0
    @ 2022-12-7 22:30:08
    #include<iostream>
    #include<iomanip>
    #include<math.h>
    using namespace std;
    int main(){
    	double r,d,c,s;
    	cin>>r;
    	d=r*2;
    	c=d*3.14159;
    	s=r*r*3.14159;
    	cout<<fixed<<setprecision(4)<<d<<" ";
    	cout<<fixed<<setprecision(4)<<c<<" ";
    	cout<<fixed<<setprecision(4)<<s;
    }
    

    信息

    ID
    889
    时间
    1000ms
    内存
    128MiB
    难度
    3
    标签
    递交数
    331
    已通过
    189
    上传者