Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
108304 | 常钰杰 | 11大象喝水 | C++ | Runtime Error | 0 MS | 268 KB | 242 | 2025-01-20 09:33:52 |
#include <iostream> #include <cstdio> using namespace std; int main() { int h,r,v,t; cin>>h>>r; v=(3.14*r*r*h)/1000; t=20/v+1; cout<<t; return 0; }
Runtime Error:Floating point exception