Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
87316 贾竣兮 11大象喝水 C++ Accepted 1 MS 272 KB 183 2024-08-08 15:48:59

Tests(10/10):


Code:

#include<iostream> using namespace std; int main() { int r,h,s,v; cin>>h>>r; s=3.14*r*r; v=s*h; if(20000%v!=0) cout<<20000/v+1; else cout<<20000/v; return 0; }