2 条题解

  • 1
    @ 2022-10-29 10:46:07
    #include <bits/stdc++.h>
    using namespace std;
    int main()
    {
        int h, r;
        cin >> h >> r;
        int ans = 20000 / (3.14 * h * r * r);
        cout << ans + 1;
        return 0;
    }
    
    • 0
      @ 2023-2-25 9:04:42
      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
      	int a,b,c,d;
      	cin >> a >> b;
      	d = a*a*b*3*0.1;
      	c=(20/d)+1; 
      	cout<< c ;
          return 0;
      }
      
      • 1

      信息

      ID
      262
      时间
      1000ms
      内存
      128MiB
      难度
      3
      标签
      (无)
      递交数
      217
      已通过
      120
      上传者