Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
6365 | lulu | 大象喝水 | C++ | Accepted | 0 MS | 256 KB | 178 | 2023-01-22 22:03:16 |
#include<bits/stdc++.h> using namespace std; int main() { int h,r,pai=3.14159; cin>>h>>r; double tiji=pai*r*r*h/1000; double n=20/tiji; cout<<ceil(n); return 0; }