5 条题解

  • 1
    @ 2022-08-01 13:14:50

    #include<iostream>
    #include<cmath>
    using namespace std;
    const double PI=3.14159;
    int main(){
    int h,r;
    cin >> h >> r;
    cout<<ceil(20/(PI*r*r*h/1000));
    return 0;
    }

  • 0

    #include<iostream>
    #include<cmath>
    using namespace std;
    int main()
    {
    int r,h;
    double P;
    P=3.14159;
    cin>>h>>r;
    cout<<ceil(20/(r*r*P*h/1000));
    return 0;
    }
    //emm……………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………

  • -3
    @ 2021-11-21 21:28:10

    #include <iostream>
    #include <cmath>
    using namespace std;
    int main()
    {
    int h,r;
    cin>>h>>r;
    cout<<ceil(20*1000/(3.14159*r*r*h))<<endl;
    return 0;
    }

  • -3

    #include<iostream>
    #include<cmath>
    #include<iomanip>
    using namespace std;
    int main()
    {
    int r,h;
    double P;
    P=3.14159;
    cin>>h>>r;
    cout<<ceil(20/(r*r*P*h/1000));
    return 0;
    }
    easy

  • -4
    @ 2021-10-31 20:56:08

    #include<iostream>
    #include<cmath>
    using namespace std;
    int main()
    {
    int r,h;
    double P;
    P=3.14159;
    cin>>h>>r;
    cout<<ceil(20/(r*r*P*h/1000));
    return 0;
    }

  • 1

信息

ID
2323
难度
1
分类
(无)
标签
递交数
172
已通过
143
通过率
83%
被复制
2
上传者