5 条题解
-
112109俞天奇 LV 8 @ 2022-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
- 分类
- (无)
- 标签
- 递交数
- 172
- 已通过
- 143
- 通过率
- 83%
- 被复制
- 2
- 上传者