6 条题解
-
0
202507cj01陈梓豪 (陈梓豪1) LV 7 @ 2025-07-24 08:14:45
#include <iomanip> #include <iostream> using namespace std; int main() { double h, r, v; int n; cin>>h>>r; v=r*r*3.1415926*h; n=int(20000/v); if (20000/v>0) { n++; cout<< n; }else { cout<< n; } return 0; }
-
02022-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;
} -
02021-11-01 19:29:04@
#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…………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………… -
-32021-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;
} -
-32021-11-08 21:29:34@
#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 -
-42021-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
- 分类
- (无)
- 标签
- 递交数
- 181
- 已通过
- 152
- 通过率
- 84%
- 被复制
- 2
- 上传者