Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
104545 陈铎文 11大象喝水 C++ Accepted 1 MS 280 KB 235 2025-01-05 12:41:26

Tests(10/10):


Code:

#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; }