Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
657 邓小龙 11大象喝水 C++ Accepted 0 MS 260 KB 210 2023-01-13 14:52:35

Tests(10/10):


Code:

#include<iostream> using namespace std; int main(){ double pi=3.14,t; int h,r,n=0; cin>>h>>r; t=pi*r*r*h; while(20*1000>n*t){ n++; } cout<<n; return 0; }