Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
163667 王垚植 11大象喝水 C++ Accepted 1 MS 272 KB 251 2026-10-27 19:20:37

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int h,r; cin>>h>>r; double volume=3.14159*r*r*h; double volume_liters=volume/1000.0; int buckets=ceil(20.0/volume_liters); cout<<buckets<<endl; return 0; }