Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
30347 | lmz120809 | 大象喝水 | C++ | Accepted | 0 MS | 248 KB | 204 | 2023-11-07 20:25:36 |
#include<bits/stdc++.h> using namespace std; int main() { float pi=3.14; int h,r; cin>>h>>r; float v; v=pi*r*r*h; int num=ceil(20000/v); cout<<num; return 0; }