题解
2026-08-03 20:13:51
发布于:浙江
12阅读
0回复
0点赞
写的已经很详细了。
#include <bits/stdc++.h>
using namespace std;
const double pi = 3.14159;
int h,r;
int main()
{
cin >> h >> r;
double s = pi * (pow(r,2)) * h;
int ans = 20000 / s + 1;
cout << ans;
return 0;
}
这里空空如也







有帮助,赞一个