8 条题解

  • 0
    @ 2024-3-3 21:38:53

    #include<bits/stdc++.h> #include #include #include <math.h> #include #include <stdio.h> #include #include #include <string.h> #include #include #include #include #include #include using namespace std; #define LL long long const int N = 1e5 + 10; const int INF = 0x3f3f3f3f; int main(){ int h, r; cin >> h >> r; double v = M_PI * r * r * h; int n = ceil(20000.0 / v); cout << n << endl; return 0; }

    信息

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