| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 149521 | 8 | 11大象喝水 | C++ | Accepted | 0 MS | 272 KB | 341 | 2026-03-13 20:33:26 |
#include <iostream> #include <cmath> using namespace std; int main() { const double NEED_WATER = 20000.0; const double PI = 3.14; int h, r; cin >> h >> r; double bucket_volume = PI * r * r * h; int buckets = ceil(NEED_WATER / bucket_volume); cout << buckets << endl; return 0; }