11 条题解

  • 0
    @ 2026-4-18 15:37:22

    #include <stdio.h>
    #include
    using namespace std;
    int main()
    {
    int h,r;
    cin >> h >> r;
    int c;
    c = 3.14159 * r * r * h ;
    int d;
    d = 20 * 1000 / c;
    cout << d + 1 << endl;

    }

    信息

    ID
    818
    时间
    1000ms
    内存
    128MiB
    难度
    5
    标签
    递交数
    1388
    已通过
    574
    上传者