Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
87423 黄睿杰 11大象喝水 C++ Accepted 1 MS 272 KB 173 2024-08-10 10:41:58

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int h,r,m; cin>>h>>r; m=(3.14*r*r*h); if(20000%m==0) cout<<20000/m; else cout<<20000/m+1; return 0; }