Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
104511 | 陈治宸 | 11大象喝水 | C++ | Accepted | 1 MS | 272 KB | 232 | 2025-01-05 11:39:11 |
#include<iostream> #include<math.h> using namespace std; int main() { int h,r; cin>>h>>r; double pi=3.14159; double v=pi*r*r*h; double t=20*1000/v; int ans=ceil(t); cout<<ans; return 0; }