Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
31492 | 闻航 | 大象喝水 | C++ | Accepted | 0 MS | 240 KB | 187 | 2023-11-19 12:18:15 |
#include<iostream> using namespace std; const double PI=3.1415926; int main() { int h,r,n; double v; cin>>h>>r; v=PI*r*r*h; n=20*1000/v+1; cout<<n<<endl; return 0; }