Run ID:2046
提交时间:2023-12-04 16:06:10
# include<iostream> using namespace std; int main() { float h,r,tong; cin>>h>>r; tong=r*r*3.14*h/1000; int n = 20.0/tong; if(20.0 - n*tong > 0) { cout<<n+1; } else { cout<<n; } return 0; }