Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
8195 | 赖梓乐 | 11大象喝水 | C++ | Accepted | 0 MS | 256 KB | 446 | 2025-06-14 20:58:36 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ double a,s,d; cin>>a>>s; d=a*s*s*3.14; if(20000/d==0){ cout<<20000/d; } else{ int(d=1+20000/d); } cout<<int(d); return 0; }