Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
99775 | 高楷伦 | 11大象喝水 | C++ | Accepted | 1 MS | 276 KB | 351 | 2024-11-30 16:20:28 |
#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(){ int h,r; double A; cin>>h>>r; A=(3.14*r*r)*h; cout<<(int)(20/A*1000)+1; return 0; }