3 条题解

  • 1
    @ 2025-4-8 19:57:07
    #include<bits/stdc++.h>
    using namespace std;
    #define d double
    int main()
    {
        d n;cin>>n;
        cout<<fixed<<setprecision(4)<<n*2<<" "<<fixed<<setprecision(4)<<2*n*3.14159<<" "<<fixed<<setprecision(4)<<3.14159*n*n<<endl;
        return 0;
    }
    
    

    信息

    ID
    4464
    时间
    1000ms
    内存
    128MiB
    难度
    1
    标签
    (无)
    递交数
    150
    已通过
    114
    上传者