Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
1938 | 吴奕希 | 11大象喝水 | C++ | Wrong Answer | 0 MS | 268 KB | 260 | 2023-12-02 17:20:26 |
# include<iostream> using namespace std; int main() { float h,r,tong; cin>>h>>r; tong=r*r*h/1000; int n = tong/20.0; if(tong - n*20.0 > 0) { cout<<n+1; } else { cout<<n; } return 0; }
------Input------
26 10
------Answer-----
3
------Your output-----
1