错哪了,ybt对了
查看原帖
错哪了,ybt对了
1394418
yjy_fywy楼主2024/12/28 19:09

20pts

#include<bits/stdc++.h>
using namespace std;
int main(){
int h,r,k;
int j;
cin>>h>>r;
j=r*r*3.14*h;
k=20000/j;
if(20000%j!=0){
	k++;
}
cout<<k;
}
2024/12/28 19:09
加载中...