为什么错在线等(QAQ)
查看原帖
为什么错在线等(QAQ)
755146
GZH0207楼主2023/5/11 19:05
#include<iostream>
#include<bits/stdc++.h>
using namespace std;
int h,r,v,ans;
int main(){
	cin>>h>>r;
	v=r*r*h*3.14;
	ans=ceil(20000/v+1);
	cout<<ans;
	return 0;
}
2023/5/11 19:05
加载中...