5 条题解

  • 1
    @ 2022-11-13 13:38:45
    #include <bits/stdc++.h>
    #define PI 3.1415926535
    
    
    using namespace std;
    
    int main()
    {
        double r;
    
        cin >> r;
    
        cout << fixed << setprecision(2) << PI * r * r << endl;
        cout << fixed << setprecision(2) << PI * 2 * r << endl;
    
        return 0;
    }
    

    信息

    ID
    831
    时间
    1000ms
    内存
    128MiB
    难度
    3
    标签
    递交数
    92
    已通过
    53
    上传者