Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
72643 sh25_zhuwy 大象喝水 C++ 通过 0 MS 248 KB 223 2025-11-02 13:38:25

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { int h,r; cin>>h>>r; double a=3.14159,b=20000; double v=a*r*r*h; int k=b/v; if(b==v*k) { cout<<k; } else { cout<<k+1; } return 0; }


测评信息: