20分REc++大佬救我,回关
查看原帖
20分REc++大佬救我,回关
1067198
qaqaqaqaqaqaqaqaqaq楼主2024/3/30 21:35
#include<bits/stdc++.h> 
using namespace std;
const int N=1e5+10;
int h,r,l;
int main(){
	cin>>h>>r;
	l=3.14*r*r*h/1000;
	if(20%l==0){
		cout<<20/l;
	}else{
		cout<<20/l+1;
	}
	return 0;
} 

2024/3/30 21:35
加载中...